table component: style sticky table header

This commit is contained in:
Jonas Heinrich 2020-10-16 18:42:25 +02:00
parent 6ecd8c59d6
commit 316b04368c
2 changed files with 10 additions and 1 deletions

View File

@ -68,4 +68,13 @@ export default {
padding-left: 5px;
}
.breadcrumbs {
background-color: var(--color-main-background-translucent);
z-index: 60;
position: sticky;
position: -webkit-sticky;
top: 50px;
padding-bottom: 5px;
}
</style>

View File

@ -77,7 +77,7 @@ table {
z-index: 60;
position: sticky;
position: -webkit-sticky;
top: 50px;
top: 99px;
th {
border-bottom: 1px solid var(--color-border);