diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2018-10-31 11:20:02 +0100 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2018-10-31 11:20:02 +0100 |
commit | 1cc05af7a68f00b2275eaf4373d9140c538ba012 (patch) | |
tree | c9b1bd25616010e873e2eaba3f250e7c90a18ca6 /apps | |
parent | 1293affc84db2e9e2ea127bb1dd44faaa85f9797 (diff) | |
download | nextcloud-server-1cc05af7a68f00b2275eaf4373d9140c538ba012.tar.gz nextcloud-server-1cc05af7a68f00b2275eaf4373d9140c538ba012.zip |
Align file menu below '+' button, fix #5595
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/css/files.scss | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss index 4e0bc9c0160..3650991a63c 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, @@ -658,8 +663,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, |