update css handling on dynamic table form

This commit is contained in:
Mehdi Benadel
2024-05-23 18:38:07 +02:00
parent 0672dc24a0
commit 5ef429e9f2
2 changed files with 43 additions and 47 deletions

View File

@ -209,3 +209,41 @@ $small-view: 800px;
}
}
}
livechat-dynamic-table-form {
table {
table-layout: fixed;
text-align: center;
tr {
border: 1px var(--greyBackgroundColor) solid;
}
td,
th {
word-wrap: break-word;
vertical-align: top;
padding: 5px 7px;
}
td:last-child {
vertical-align: middle;
}
tbody tr:nth-child(odd) {
background-color: var(--greySecondaryBackgroundColor);
}
}
button {
padding: 2px !important;
}
.dynamic-table-add-row {
background-color: var(--bs-green);
}
.dynamic-table-remove-row {
background-color: var(--bs-orange);
}
}