1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Add more style for table head

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2022-08-24 10:06:59 +03:00
parent 8578e5f0e9
commit 9eaa8d52b6

View File

@ -1,5 +1,5 @@
.tableTheme { .tableTheme {
overflow: auto; overflow: overlay;
table { table {
table-layout: fixed; table-layout: fixed;
@ -10,8 +10,12 @@
border-bottom: thin solid var(--hrColor); border-bottom: thin solid var(--hrColor);
color: var(--textColorAccent); color: var(--textColorAccent);
height: 33px; height: 33px;
// position: sticky; position: sticky;
// top: 0; top: 0;
background-color: var(--tableHeaderBackground);
display: flex;
flex-shrink: 0;
z-index: 1;
} }
thead tr { thead tr {
@ -20,6 +24,8 @@
tr { tr {
// margin: calc(var(--margin) * 1.6) var(--margin); // margin: calc(var(--margin) * 1.6) var(--margin);
// margin: 0 calc(var(--margin) * 2);
width: 100%;
} }
th { th {