From 3bbf056749a7d5f3b26c1781dc0238be3a36acab Mon Sep 17 00:00:00 2001 From: Klaus Quibeldey-Cirkel <klaus.quibeldey-cirkel@mni.thm.de> Date: Sun, 6 Sep 2020 17:50:53 +0200 Subject: [PATCH] alternate background colors of table rows --- src/app/components/shared/room-list/room-list.component.scss | 4 ---- src/styles.scss | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/components/shared/room-list/room-list.component.scss b/src/app/components/shared/room-list/room-list.component.scss index 193aa3981..935ee0f0f 100644 --- a/src/app/components/shared/room-list/room-list.component.scss +++ b/src/app/components/shared/room-list/room-list.component.scss @@ -98,9 +98,5 @@ th, tr { } .list-entries { - padding-left: 3%; width: 100%; - &:nth-child(even) { - background-color: var(--alt-dialog); - } } diff --git a/src/styles.scss b/src/styles.scss index c4b239d10..10f3366f0 100644 --- a/src/styles.scss +++ b/src/styles.scss @@ -225,3 +225,7 @@ a { .mat-icon-button i, .mat-icon-button .mat-icon { line-height: normal !important; } + +.mat-row:nth-child(even) { + background-color: var(--alt-dialog) !important; +} -- GitLab