Skip to content
This repository has been archived by the owner on Nov 26, 2023. It is now read-only.

Commit

Permalink
fix(pages): w-full on sr-only input was causing a horizontal scrollba…
Browse files Browse the repository at this point in the history
…r to appear on Chrome

This commit fixed issue #10
  • Loading branch information
LunarMelody committed Jul 26, 2022
1 parent ddedd3c commit 599090f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const LanguageSwitch: FunctionComponent = () => {
value={code}
checked={lang === code}
onChange={handleOnChange}
className="peer sr-only w-full"
className="peer sr-only"
/>
<label
htmlFor={`${code}-btn`}
Expand Down Expand Up @@ -108,7 +108,7 @@ const ThemeSwitch: FunctionComponent = () => {
value={name}
checked={theme === name}
onChange={handleOnChange}
className="peer sr-only w-full"
className="peer sr-only"
/>
<label
htmlFor={`${name}-btn`}
Expand Down

0 comments on commit 599090f

Please sign in to comment.