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

Using one-line layout for the <td>s

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2022-08-08 09:38:07 +03:00
parent a2e6d6e313
commit bd965c93f4

View File

@ -1,14 +1,21 @@
.tableTheme { .tableTheme {
border: 1px solid lightgray;
height: calc(100% - 59px);
overflow: auto;
table { table {
border-spacing: 0; border-spacing: 0;
border-top: thin solid var(--hrColor); border-top: thin solid var(--hrColor);
table-layout: fixed;
width: 100%;
} }
thead { thead {
border-bottom: thin solid var(--hrColor); border-bottom: thin solid var(--hrColor);
color: var(--textColorAccent); color: var(--textColorAccent);
padding-top: 7px;
height: 33px; height: 33px;
position: sticky;
top: 0;
} }
thead tr { thead tr {
@ -37,9 +44,8 @@
td { td {
padding: 0 var(--padding); padding: 0 var(--padding);
} overflow: hidden;
text-overflow: ellipsis;
.actions { white-space: nowrap;
@apply justify-end;
} }
} }