summaryrefslogtreecommitdiffstats
path: root/apps/files/css/files.scss
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/css/files.scss')
-rw-r--r--apps/files/css/files.scss23
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 {