diff options
author | Abijeet <abijeetpatro@gmail.com> | 2018-02-04 01:15:53 +0530 |
---|---|---|
committer | Abijeet <abijeetpatro@gmail.com> | 2018-03-27 00:49:34 +0530 |
commit | 872853af58398c514eca40a014580a76d36a2da6 (patch) | |
tree | 1477630dfa514b12fbd26f4acd2818caefc11b3b /apps/comments/css | |
parent | 001cd986ed5ed8897043d9ce6d41d8a7b60af2f8 (diff) | |
download | nextcloud-server-872853af58398c514eca40a014580a76d36a2da6.tar.gz nextcloud-server-872853af58398c514eca40a014580a76d36a2da6.zip |
Moves the edit and delete options into a dropdown menu.
Fixes #7281
- Added a new View to render the dropdown.
- Modified the existing code.
Signed-off-by: Abijeet <abijeetpatro@gmail.com>
Diffstat (limited to 'apps/comments/css')
-rw-r--r-- | apps/comments/css/comments.scss | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/apps/comments/css/comments.scss b/apps/comments/css/comments.scss index 88b890323aa..5e0bbce28a1 100644 --- a/apps/comments/css/comments.scss +++ b/apps/comments/css/comments.scss @@ -49,10 +49,6 @@ opacity: 1; } -#commentsTabView .newCommentForm .cancel { - margin-right: 6px; -} - #commentsTabView .newCommentForm div.message { resize: none; } @@ -182,8 +178,7 @@ #commentsTabView .comment .action { opacity: 0.3; padding: 14px; - display: inline-block; - vertical-align: middle; + display: block; } #commentsTabView .comment .action:hover, @@ -193,9 +188,6 @@ #commentsTabView .newCommentRow .action-container { margin-left: auto; - /** setting minimum width so as to avoid these two buttons from appearing on top of - each other when author name is long. width = icon-width * 2 + (inline-block gap) **/ - min-width: 92px; } #commentsTabView .comment.disabled { @@ -214,4 +206,4 @@ .app-files .action-comment { padding: 16px 14px; -} +}
\ No newline at end of file |