From f2c67b0d8ab0f6c4102a600a70ae15c8dc31113e Mon Sep 17 00:00:00 2001 From: Asphyxia Date: Wed, 23 Jan 2013 01:48:41 -0300 Subject: [PATCH] Overflow comment textarea --- Changelog.md | 2 +- app/assets/stylesheets/application.css.sass | 9 ++++- app/assets/templates/comment_tpl.jst.hbs | 16 ++++----- .../templates/stream-element_tpl.jst.hbs | 34 +++++++++---------- 4 files changed, 34 insertions(+), 27 deletions(-) diff --git a/Changelog.md b/Changelog.md index 2662f78cb..a9e460391 100644 --- a/Changelog.md +++ b/Changelog.md @@ -27,7 +27,7 @@ * Re-add hovercards [#3802](https://github.com/diaspora/diaspora/pull/3802) * Add images to notifications [#3821](https://github.com/diaspora/diaspora/pull/3821) * Show pod version in footer and updated the link to the changelog [#3822](https://github.com/diaspora/diaspora/pull/3822) -* User interface enhancements [#3832](https://github.com/diaspora/diaspora/pull/3832), [#3839](https://github.com/diaspora/diaspora/pull/3839), [#3834](https://github.com/diaspora/diaspora/pull/3834), [#3840](https://github.com/diaspora/diaspora/issues/3840), [#3846](https://github.com/diaspora/diaspora/issues/3846), [#3851](https://github.com/diaspora/diaspora/issues/3851), [#3828](https://github.com/diaspora/diaspora/issues/3828), [#3874](https://github.com/diaspora/diaspora/issues/3874). +* User interface enhancements [#3832](https://github.com/diaspora/diaspora/pull/3832), [#3839](https://github.com/diaspora/diaspora/pull/3839), [#3834](https://github.com/diaspora/diaspora/pull/3834), [#3840](https://github.com/diaspora/diaspora/issues/3840), [#3846](https://github.com/diaspora/diaspora/issues/3846), [#3851](https://github.com/diaspora/diaspora/issues/3851), [#3828](https://github.com/diaspora/diaspora/issues/3828), [#3874](https://github.com/diaspora/diaspora/issues/3874), [#3806](https://github.com/diaspora/diaspora/issues/3806). ## Bug Fixes diff --git a/app/assets/stylesheets/application.css.sass b/app/assets/stylesheets/application.css.sass index e7bdb4ceb..785d0bcfa 100644 --- a/app/assets/stylesheets/application.css.sass +++ b/app/assets/stylesheets/application.css.sass @@ -527,6 +527,13 @@ ul.as-selections .right :right 4px +.stream_element + .new_comment_form_wrapper + :width 415px + +.stream_element .bd + & > .likes, & > .comments + :margin-right 15px .stream_element .post-content .reshare :border-left 2px solid #ddd @@ -538,7 +545,7 @@ form.new_comment textarea :height 21px :font-size 12px - :width 355px + :width 364px &.open input diff --git a/app/assets/templates/comment_tpl.jst.hbs b/app/assets/templates/comment_tpl.jst.hbs index 8b40e60b3..6d4b3cca3 100644 --- a/app/assets/templates/comment_tpl.jst.hbs +++ b/app/assets/templates/comment_tpl.jst.hbs @@ -1,11 +1,3 @@ -{{#if canRemove}} -
- - Deletelabel - -
-{{/if}} -
{{#linkToPerson author}} {{{personImage this "small" "small"}}} @@ -13,6 +5,14 @@
+ {{#if canRemove}} + + {{/if}} + {{author.name}} diff --git a/app/assets/templates/stream-element_tpl.jst.hbs b/app/assets/templates/stream-element_tpl.jst.hbs index 29856a23e..4d4aacb11 100644 --- a/app/assets/templates/stream-element_tpl.jst.hbs +++ b/app/assets/templates/stream-element_tpl.jst.hbs @@ -1,22 +1,5 @@
- {{#if loggedIn}} -
- {{#unless authorIsCurrentUser}} - - Ignoreuser - - - - - {{else}} - - - - {{/unless}} -
- {{/if}} - {{#with author}} {{{personImage this}}} @@ -24,6 +7,23 @@ {{/with}}
+ {{#if loggedIn}} + + {{/if}} +
{{#with author}} {{name}}