Skip to content

Commit

Permalink
fix: 🐛 fixed No JS View
Browse files Browse the repository at this point in the history
  • Loading branch information
andy-phu authored and alexanderl19 committed Feb 20, 2024
1 parent 298bcd9 commit bd3aa7c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/lib/components/Selector.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
<ChevronsUpDown size="16" />
</div>
<span class="sr-only">Open Popover</span>
<noscript class="no-js">MUST ENABLE JAVASCRIPT</noscript>
</button>

{#if $open}
Expand Down Expand Up @@ -102,4 +103,12 @@
border: 1px solid var(--gray100);
background-color: var(--background);
}
.no-js {
color: red;
padding-left: 34px;
font-weight: bold;
font-size: 20px;
letter-spacing: 6px;
}
</style>

0 comments on commit bd3aa7c

Please sign in to comment.