mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-17 05:13:32 +00:00
refactor: extract edit element in table
This commit is contained in:
committed by
Carlos Valente
parent
2fc4e6da16
commit
c445c42f8a
@@ -32,23 +32,19 @@ $table-header-font-size: calc(1rem - 2px);
|
||||
|
||||
.tableHeader,
|
||||
.eventRow {
|
||||
.actionColumn {
|
||||
width: calc(2rem + 0.5rem); // sm button size (--chakra-sizes-8) + 2 * padding
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.indexColumn {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: end;
|
||||
|
||||
min-width: 3em; // allow for 3-digit numbers
|
||||
text-align: right;
|
||||
font-weight: 400;
|
||||
font-size: $table-header-font-size;
|
||||
position: sticky;
|
||||
left: 0;
|
||||
z-index: 1;
|
||||
background-color: $gray-1300; // will be overridden inline
|
||||
}
|
||||
|
||||
.actionColumn {
|
||||
width: calc(2rem + 0.5rem); // sm button size (--chakra-sizes-8) + 2 * padding
|
||||
min-width: 3em; // allow for 3-digit numbers
|
||||
font-size: $table-header-font-size;
|
||||
background-color: $gray-1300; // will be overridden inline
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user