From a5911e662a6919e1a06ca3f9ed73f06e2f85cf49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20B=C3=BChler?= Date: Wed, 3 Jul 2024 11:51:36 +0200 Subject: [PATCH] Fix bad padding in light mode --- src/styles.sass | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/styles.sass b/src/styles.sass index e20117c..8ac47fc 100644 --- a/src/styles.sass +++ b/src/styles.sass @@ -58,6 +58,12 @@ $my-dark-theme: mat.define-dark-theme((color: (primary: $my-primary,accent: $my- .mat-mdc-dialog, .color-scheme-dialog --background: #{mat.get-color-from-palette(mat.$light-theme-background-palette, 'dialog')} +.card.mat-mdc-card + padding: 16px + +.page-item.card .mat-mdc-card-content + padding: 0px + @media (prefers-color-scheme: dark) :root @include mat.all-component-themes($my-dark-theme) @@ -114,10 +120,6 @@ $my-dark-theme: mat.define-dark-theme((color: (primary: $my-primary,accent: $my- .card.mat-mdc-card box-shadow: none border: 2px solid var(--border-color) - padding: 16px - - .page-item.card .mat-mdc-card-content - padding: 0px :root // color contrast fixes: