mirror of
https://github.com/gabehf/Koito.git
synced 2026-04-23 04:21:51 -07:00
improve theme selector for mobile
This commit is contained in:
parent
c1c376eb2a
commit
b16b160f20
2 changed files with 37 additions and 17 deletions
|
|
@ -49,7 +49,7 @@ export function ThemeSwitcher() {
|
|||
<AsyncButton onClick={resetTheme}>Reset</AsyncButton>
|
||||
</div>
|
||||
</div>
|
||||
<div className="grid grid-cols-2 items-center gap-2">
|
||||
<div className="grid grid-cols-1 sm:grid-cols-2 items-center gap-2">
|
||||
{Object.entries(themes).map(([name, themeData]) => (
|
||||
<ThemeOption
|
||||
setTheme={setTheme}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue