Skip to content

Commit

Permalink
Set color-scheme: dark (partial fix for #7)
Browse files Browse the repository at this point in the history
This fixes the arrows looking light on the number input for expiry, but
not the weird-looking pseudo-skeumorphic dropdown select box for the
expiry unit on Safari.
  • Loading branch information
BBaoVanC committed Sep 22, 2024
1 parent e1fb8b6 commit 55ed11f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bobashare-web/static/css/bobashare.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
:root {
/* horizontal margin is 1em on each side */
--max-vw: 100vw - 2em;
/* tell elements that they should be rendering in dark mode
* namely, this fixes the dropdown selects being ugly on Safari
*/
color-scheme: dark;
}

/* Main document formatting */
Expand Down

0 comments on commit 55ed11f

Please sign in to comment.