diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-04-02 11:33:20 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-04-02 12:24:48 +0200 |
commit | b38445b17ad52e948c645ca8b98b06b0d18aa583 (patch) | |
tree | 7f3cbb8d98d73fbee18dc3b22c6ffed1a51c4033 /apps/files/css | |
parent | 021751658e3999d834d34cc918771575fcf89bf9 (diff) | |
download | nextcloud-server-b38445b17ad52e948c645ca8b98b06b0d18aa583.tar.gz nextcloud-server-b38445b17ad52e948c645ca8b98b06b0d18aa583.zip |
Show comments and restore in popover menu
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files/css')
-rw-r--r-- | apps/files/css/files.scss | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss index 440f505edec..04987f8839e 100644 --- a/apps/files/css/files.scss +++ b/apps/files/css/files.scss @@ -920,19 +920,8 @@ table.dragshadow td.size { align-items: center; justify-content: center; - &.action.action-share.permanent { - display: none; - } - - /* In "Deleted files", do not show "Restore" text next to icon as there is no space */ - &.action-restore.permanent span { - &:not(.icon) { - display: none; - } - } - - /* If there is a comment, show it instead of the share icon */ - &.action-comment ~ .action-share { + // hide all actions in grid view that are not the menu + &:not(.action-menu) { display: none; } } @@ -949,6 +938,14 @@ table.dragshadow td.size { border-radius: 50%; } } + // force show the sharing entry in the dropdown menu + .action-restore-container.hidden { + display: block !important; + } + // force show the sharing entry in the dropdown menu + .action-comment-container.hidden { + display: block !important; + } } form { |