Floating files header
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
4fd2cbeb94
commit
faff807ba6
|
@ -55,12 +55,28 @@
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
min-width: 250px;
|
min-width: 250px;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
// hide table if emptycontent is not hidden
|
// hide table if emptycontent is not hidden
|
||||||
#emptycontent:not(.hidden) ~ & {
|
#emptycontent:not(.hidden) ~ & {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media only screen and (min-width: $breakpoint-mobile + 1) {
|
||||||
|
#filestable {
|
||||||
|
// floating header
|
||||||
|
thead {
|
||||||
|
position: sticky;
|
||||||
|
// header + breadcrumbs
|
||||||
|
top: $header-height + 44px;
|
||||||
|
z-index: 1000;
|
||||||
|
display: block;
|
||||||
|
background-color: var(--color-main-background-translucent);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* fit app list view heights */
|
/* fit app list view heights */
|
||||||
.app-files #app-content>.viewcontainer {
|
.app-files #app-content>.viewcontainer {
|
||||||
min-height: 0%;
|
min-height: 0%;
|
||||||
|
|
|
@ -652,8 +652,6 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
this.breadcrumb._resize();
|
this.breadcrumb._resize();
|
||||||
|
|
||||||
this.$table.find('>thead').width($('#app-content').width() - OC.Util.getScrollBarWidth());
|
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue