Merge branch 'RED-8812' into 'master'

RED-8812: changed table styling.

See merge request redactmanager/red-ui!370
This commit is contained in:
Dan Percic 2024-03-28 10:39:46 +01:00
commit 2f09981ea0
2 changed files with 10 additions and 4 deletions

View File

@ -11,7 +11,7 @@
<thead>
<tr>
<th *ngFor="let column of columns()" [ngClass]="{ hide: !column.show }">
<label class="selected-text">{{ column.label }}</label>
<label>{{ column.label }}</label>
</th>
</tr>
</thead>

View File

@ -6,6 +6,7 @@
}
table {
padding: 0 13px;
max-width: 100%;
min-width: 100%;
border-spacing: 0;
@ -18,15 +19,14 @@ table {
}
tr {
max-inline-size: 100%;
max-width: 100%;
min-width: 100%;
display: table;
th {
border-bottom: 1px solid var(--iqser-grey-1);
label {
opacity: 0.7;
font-weight: normal;
}
}
@ -50,6 +50,12 @@ table {
}
}
tbody tr:nth-child(odd) {
td {
background-color: var(--iqser-alt-background);
}
}
.hide {
visibility: hidden;
}