Skip to content

Commit

Permalink
fix: Poll total subheading in dark mode (#3)
Browse files Browse the repository at this point in the history
Co-authored-by: Paolo Navarretta <pnavarretta@meetecho.com>
  • Loading branch information
alexamirante and Paolo Navarretta authored Sep 5, 2024
1 parent 5fa5fb6 commit bab62ed
Showing 1 changed file with 16 additions and 10 deletions.
26 changes: 16 additions & 10 deletions src/components/panels/polls/poll.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,17 +62,23 @@
}

/* DARK MODE */
.App.theme--dark .poll {
background-color: $dark-theme--element-bg;
color: $light-theme--element-bg;
}
.App.theme--dark {
.poll {
background-color: $dark-theme--element-bg;
color: $light-theme--element-bg;

&__btn {
background: $light-theme--element-bg;
color: black;
opacity: 0.7;

.App.theme--dark .poll__btn {
background: $light-theme--element-bg;
color: black;
opacity: 0.7;
&:hover {
opacity: 1;
}
}

&:hover {
opacity: 1;
&__totals {
color: $light-theme--element-bg;
}
}
}

0 comments on commit bab62ed

Please sign in to comment.