Skip to content

Commit

Permalink
:has does not support all browsers
Browse files Browse the repository at this point in the history
  • Loading branch information
Jl5her committed Oct 9, 2023
1 parent f0d5ef6 commit 3f84bf2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<title>Abacus</title>
</head>

<body>
<body class="abacus">
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<!--
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/App.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ html {
outline: none;
}

body:has(#root) {
body.abacus {
background: var(--bg-color);
color: #555;
font-family: 'Open Sans', sans-serif;
Expand Down

0 comments on commit 3f84bf2

Please sign in to comment.