diff options
| author | julian laplace <julescarbon@gmail.com> | 2022-10-25 23:50:42 +0200 |
|---|---|---|
| committer | julian laplace <julescarbon@gmail.com> | 2022-10-25 23:50:42 +0200 |
| commit | 1850f78ba2f20e6e490364650977fe9fb1afa423 (patch) | |
| tree | 60938fe27730f166d402b21b1b92c1ada53d3c77 | |
| parent | ace77dca800311e7ea47817f7e5abafa44589b1f (diff) | |
more files... code... yes
| -rw-r--r-- | public/assets/js/lib/views/stream/hootstream.js | 4 | ||||
| -rw-r--r-- | views/partials/hootstream.ejs | 16 |
2 files changed, 14 insertions, 6 deletions
diff --git a/public/assets/js/lib/views/stream/hootstream.js b/public/assets/js/lib/views/stream/hootstream.js index d7d7ba3..b8534c7 100644 --- a/public/assets/js/lib/views/stream/hootstream.js +++ b/public/assets/js/lib/views/stream/hootstream.js @@ -118,9 +118,9 @@ var HootStream = View.extend({ className: "", date: thread.lastmodified, }), - this.renderFiles(files.slice(0, 3)), + this.renderFiles(files.slice(0, 10)), ...this.renderHoots({ hoots: comments.slice(0, 1), tag: "first_post" }), - ...this.renderHoots({ hoots: comments.slice(1).slice(-3) }), + ...this.renderHoots({ hoots: comments.slice(1).slice(-5) }), "<div class='divider'></div>", ]; // say "in ... " diff --git a/views/partials/hootstream.ejs b/views/partials/hootstream.ejs index 988df01..208e1ca 100644 --- a/views/partials/hootstream.ejs +++ b/views/partials/hootstream.ejs @@ -108,7 +108,7 @@ color: #def; opacity: 0.8; text-align: right; - width: 50px; + width: 6rem; whitespace: nowrap; overflow: hidden; text-overflow: ellipsis; @@ -228,9 +228,17 @@ left: 0; z-index: -1; } - #hootevents table td.age { - align-items: center; - } + #hootevents table td.age { + align-items: center; + } + + /** Misc */ + #hootevents code, #hootevents pre { + background: rgba(127,127,127,0.2); + border: 1px solid rgba(127,127,127,0.2); + margin: 0.25rem; + padding: 0.5rem; + } /** HOOT FORM */ |
