feat(front/data-table): add actions cell, col-grow and col-grow-cell

This commit is contained in:
Alice Gaudon 2022-03-05 10:05:13 +01:00
parent 2e3c5d16c4
commit 2c3286d313

View File

@ -23,6 +23,46 @@
thead tr:hover { thead tr:hover {
background-color: transparent; background-color: transparent;
} }
tbody td.actions {
display: flex;
flex-direction: row;
button {
padding: 8px;
.icon {
margin: 0 !important;
}
.tip {
display: none;
}
}
}
thead th.col-grow {
width: 100%;
}
tbody td.col-grow-cell {
> * {
display: flex;
flex-direction: row;
> * {
width: 0;
flex-grow: 1;
white-space: nowrap;
text-overflow: ellipsis;
}
* {
overflow: hidden;
text-overflow: ellipsis;
}
}
}
} }
.data-table-container { .data-table-container {