Improved comment editor UI/UX
authorAlexander Ebert <ebert@woltlab.com>
Wed, 15 Nov 2017 17:37:50 +0000 (18:37 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 15 Nov 2017 17:37:55 +0000 (18:37 +0100)
wcfsetup/install/files/style/ui/comment.scss

index 4da735dd955d1186fe0a817e0cbc056bf3f7db02..215ab1daf91d97c8ef29a24663c581004d97a2bd 100644 (file)
        .comment[data-is-disabled="1"] .jsCommentShowAddResponse {
                display: none;
        }
+       
+       @include screen-sm-up {
+               .jsCommentResponseAdd {
+                       padding-left: 20px;
+               }
+       }
+       
+       /* hide avatar on smartphones to give more room to the editor */
+       @include screen-xs {
+               .jsCommentAdd > .userAvatarImage,
+               .jsCommentResponseAdd > .userAvatarImage {
+                       display: none;
+               }
+       }
 }
 
 .commentListAddComment {