]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix filename and popover menu misalignment 19802/head
authorGretaD <gretadoci@gmail.com>
Wed, 12 Feb 2020 16:31:51 +0000 (17:31 +0100)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Fri, 6 Mar 2020 07:04:18 +0000 (07:04 +0000)
Signed-off-by: GretaD <gretadoci@gmail.com>
apps/files/css/files.scss
apps/files/css/mobile.scss

index 91797065769931deeb8fddcdd155f732f8ce7903..9d9daabc27997d4215a3e09082518dcaacd3da69 100644 (file)
@@ -59,7 +59,7 @@
        position: relative;
        width: 100%;
        min-width: 250px;
-       display: flex;
+       display: block;
        flex-direction: column;
        // hide table if emptycontent is not hidden
        #emptycontent:not(.hidden) ~ & {
                display: block;
                background-color: var(--color-main-background-translucent);
        }
+
+       /**
+        * This is a dirty hack as the sticky header requires us to use a different display type on the table element
+        */
+       tbody {
+               display: table;
+               width: 100%;
+       }
 }
 
 #filestable.hidden {
@@ -383,13 +391,12 @@ table {
                        width: 0;
                        flex-grow: 1;
                        display: flex;
-                       padding: 0;
                        overflow: hidden;
                        white-space: nowrap;
                        text-overflow: ellipsis;
                        height: 100%;
                        z-index: 10;
-                       padding-right: 20px;
+                       padding: 0 20px 0 0;
                }
        }
 
index 3ba5f1e0d8d420a594256d8a35b76eec628c7523..da6fdd25f285ba855ecc144361ee7a7d12914d0c 100644 (file)
@@ -8,11 +8,6 @@ $min-table-width: 688px;
        background-color: rgba(255, 255, 255, 1)!important;
 }
 
-#body-user #filestable {
-       min-width: 250px;
-       display: initial;
-}
-
 table th#headerSize,
 table td.filesize,
 table th#headerDate,