Do not display: flex; a td but its child

Actually, having `td.actions` with `display: flex;` cancel the `table-cell` height computation and it's then impossible to solve.
The solution here is to have a child (`div.flex`) that is `display: flex` and then the parent `td` can compute its height (as the same than its current row).
This commit is contained in:
Jean-Baptiste Bellet
2022-11-28 11:13:25 +01:00
parent 25ab334d73
commit 7556eee5d4
2 changed files with 13 additions and 11 deletions

View File

@@ -30,6 +30,8 @@ table tbody tr {
border-bottom: 2px solid $v2-medium-light-grey;
&.actions {
border-bottom: 2px solid $v2-medium-light-grey !important; // needs to be important because of already defined with important
}
> .flex {
display: flex;
column-gap: 10px;
}