Merge branch 'RED-9578' into 'master'

RED-9578: fixed styles.

See merge request redactmanager/red-ui!597
This commit is contained in:
Dan Percic 2024-10-02 13:36:20 +02:00
commit b627b181e3
3 changed files with 9 additions and 2 deletions

View File

@ -1,6 +1,8 @@
<div [ngStyle]="gridConfig()" class="table"> <div [ngStyle]="gridConfig()" class="table">
@for (column of _columns(); track column.label) { @for (column of _columns(); track column.label) {
<div [ngClass]="{ hide: !!column.hide }" class="col cell">{{ column.label }}</div> <div [ngClass]="{ hide: !!column.hide }" class="col cell">
<label>{{ column.label }}</label>
</div>
} }
@for (row of _data(); track $index) { @for (row of _data(); track $index) {
@for (cell of row; track cell.label) { @for (cell of row; track cell.label) {

View File

@ -12,6 +12,11 @@
top: 0; top: 0;
z-index: 1; z-index: 1;
background: white; background: white;
label {
opacity: 0.7;
font-weight: normal;
}
} }
.cell { .cell {

View File

@ -2,10 +2,10 @@
:host { :host {
height: 250px; height: 250px;
margin-bottom: 16px;
} }
.scrollable { .scrollable {
margin-bottom: 8px;
overflow-y: auto; overflow-y: auto;
max-height: 240px; max-height: 240px;
@include common-mixins.scroll-bar; @include common-mixins.scroll-bar;