Skip to content

Commit

Permalink
Fix bad padding in light mode
Browse files Browse the repository at this point in the history
  • Loading branch information
buehlefs committed Jul 3, 2024
1 parent b289777 commit a5911e6
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/styles.sass
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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:

Expand Down

0 comments on commit a5911e6

Please sign in to comment.