Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGretaD <gretadoci@gmail.com>2020-02-12 19:31:51 +0300
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2020-03-06 10:04:18 +0300
commit7dec977d48675068c1a2840e96dbc546114d04c9 (patch)
treeafa7d3270bbc72b8ecc95da4759169b49a9fe520 /apps/files/css
parent0a897708d63ebcefd392febe16563adcd460025f (diff)
Fix filename and popover menu misalignment
Signed-off-by: GretaD <gretadoci@gmail.com>
Diffstat (limited to 'apps/files/css')
-rw-r--r--apps/files/css/files.scss13
-rw-r--r--apps/files/css/mobile.scss5
2 files changed, 10 insertions, 8 deletions
diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss
index 91797065769..9d9daabc279 100644
--- a/apps/files/css/files.scss
+++ b/apps/files/css/files.scss
@@ -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) ~ & {
@@ -77,6 +77,14 @@
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;
}
}
diff --git a/apps/files/css/mobile.scss b/apps/files/css/mobile.scss
index 3ba5f1e0d8d..da6fdd25f28 100644
--- a/apps/files/css/mobile.scss
+++ b/apps/files/css/mobile.scss
@@ -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,