Skip to content

Commit

Permalink
fix z-index of color switcher
Browse files Browse the repository at this point in the history
  • Loading branch information
hbuchel committed Oct 10, 2024
1 parent 825ad21 commit 62d7b52
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/styles/color-switcher.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,11 @@
&:hover {
background-color: var(--amplify-colors-primary-10);
}
}
.amplify-togglebutton--pressed {
color: var(--amplify-colors-font-primary);
border-color: var(--amplify-colors-neutral-100);
background-color: var(--amplify-colors-primary-10);
&.amplify-togglebutton--pressed {
color: var(--amplify-colors-font-primary);
border-color: var(--amplify-colors-neutral-100);
background-color: var(--amplify-colors-primary-10);
z-index: 1;
}
}
}

0 comments on commit 62d7b52

Please sign in to comment.