diff options
Diffstat (limited to 'public')
| -rw-r--r-- | public/assets/css/hootstream.css | 8 | ||||
| -rw-r--r-- | public/assets/js/lib/views/details/commentform.js | 2 | ||||
| -rw-r--r-- | public/assets/js/lib/views/stream/hootstream.js | 3 |
3 files changed, 10 insertions, 3 deletions
diff --git a/public/assets/css/hootstream.css b/public/assets/css/hootstream.css index b54dad5..7533b2c 100644 --- a/public/assets/css/hootstream.css +++ b/public/assets/css/hootstream.css @@ -425,7 +425,7 @@ .streamForm { width: 100%; - max-width: 720px; + max-width: 960px; padding-left: 4rem; } .streamForm form { @@ -433,15 +433,19 @@ } .streamForm textarea { width: 100%; - height: 5rem; + height: 8rem; font-family: "Trebuchet MS", sans-serif; font-size: 1rem; + line-height: 1.4; padding: 0.5rem; border: 2px solid #211; outline: 0; background: rgba(127, 127, 127, 0.2); color: #fff; } +.streamThread .streamForm textarea { + height: min(42rem, calc(100vh - 15rem)); +} /** HOOT FILTERS */ diff --git a/public/assets/js/lib/views/details/commentform.js b/public/assets/js/lib/views/details/commentform.js index 66add7d..abda1e4 100644 --- a/public/assets/js/lib/views/details/commentform.js +++ b/public/assets/js/lib/views/details/commentform.js @@ -33,7 +33,7 @@ var CommentForm = FormView.extend({ }, keydown: function (e) { - console.log(e.keyCode); + // console.log(e.keyCode); if (e.ctrlKey || e.metaKey || e.altKey) { if (e.keyCode === 83 || e.keyCode === 13) { // "s" or "enter" key diff --git a/public/assets/js/lib/views/stream/hootstream.js b/public/assets/js/lib/views/stream/hootstream.js index ebef14a..cde591c 100644 --- a/public/assets/js/lib/views/stream/hootstream.js +++ b/public/assets/js/lib/views/stream/hootstream.js @@ -320,6 +320,9 @@ var HootStream = View.extend({ }.bind(this) ); this.$hootevents.empty(); + this.$el.toggleClass("streamThread", !!data.query.thread); + this.$el.toggleClass("streamKeyword", !!data.query.username); + this.$el.toggleClass("streamUser", !!data.query.keyword); this.$hootevents.append($els); audio.init(); }, |
