summaryrefslogtreecommitdiffstats
path: root/apps/files/css/files.scss
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-11-01 12:01:05 +0100
committerGitHub <noreply@github.com>2018-11-01 12:01:05 +0100
commit0247a0d6dbdb0ddb897b85ae46f095805c54d981 (patch)
tree56b7d5e2d3c43b86d8497ff0c2afb815f993f535 /apps/files/css/files.scss
parent15ef354acec82b5d95642cfda95224ed34ffc8d0 (diff)
parent1cc05af7a68f00b2275eaf4373d9140c538ba012 (diff)
downloadnextcloud-server-0247a0d6dbdb0ddb897b85ae46f095805c54d981.tar.gz
nextcloud-server-0247a0d6dbdb0ddb897b85ae46f095805c54d981.zip
Merge pull request #12162 from nextcloud/file-menu-align
Align file menu below '+' button, fix #5595
Diffstat (limited to 'apps/files/css/files.scss')
-rw-r--r--apps/files/css/files.scss15
1 files changed, 13 insertions, 2 deletions
diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss
index 580bab32d6d..d6f9bd6131e 100644
--- a/apps/files/css/files.scss
+++ b/apps/files/css/files.scss
@@ -8,7 +8,12 @@
}
/* FILE MENU */
-.actions { padding:5px; height:32px; display: inline-block; float: left; }
+.actions {
+ padding: 5px;
+ height: 100%;
+ display: inline-block;
+ float: left;
+}
.actions input, .actions button, .actions .button { margin:0; float:left; }
.actions .button a { color: #555; }
.actions .button a:hover,
@@ -659,8 +664,14 @@ table.dragshadow td.size {
top: 100%;
margin-top: 4px;
min-width: 100px;
- margin-left: 7px;
+ margin-left: 22px; /* Align left edge below center of + button … */
+ transform: translateX(-50%); /* … then center it below button */
z-index: 1001;
+
+ /* Center triangle */
+ &::after {
+ left: calc(50% - 8px) !important;
+ }
}
#filestable .filename .action .icon,