Fix filename and popover menu misalignment

Signed-off-by: GretaD <gretadoci@gmail.com>
This commit is contained in:
GretaD 2020-02-12 17:31:51 +01:00
parent aa950ffc04
commit 372bd505f8
2 changed files with 10 additions and 8 deletions

View File

@ -59,7 +59,7 @@
position: relative; position: relative;
width: 100%; width: 100%;
min-width: 250px; min-width: 250px;
display: flex; display: block;
flex-direction: column; flex-direction: column;
// hide table if emptycontent is not hidden // hide table if emptycontent is not hidden
#emptycontent:not(.hidden) ~ & { #emptycontent:not(.hidden) ~ & {
@ -77,6 +77,14 @@
display: block; display: block;
background-color: var(--color-main-background-translucent); 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 { #filestable.hidden {
@ -383,13 +391,12 @@ table {
width: 0; width: 0;
flex-grow: 1; flex-grow: 1;
display: flex; display: flex;
padding: 0;
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
height: 100%; height: 100%;
z-index: 10; z-index: 10;
padding-right: 20px; padding: 0 20px 0 0;
} }
} }

View File

@ -8,11 +8,6 @@ $min-table-width: 688px;
background-color: rgba(255, 255, 255, 1)!important; background-color: rgba(255, 255, 255, 1)!important;
} }
#body-user #filestable {
min-width: 250px;
display: initial;
}
table th#headerSize, table th#headerSize,
table td.filesize, table td.filesize,
table th#headerDate, table th#headerDate,