Skip to content

Commit

Permalink
💄 feat: updated theme menu button and dropdown width
Browse files Browse the repository at this point in the history
  • Loading branch information
bytevictor committed Mar 30, 2024
1 parent d03844f commit 8123a82
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/Components/ConfigMenu/ThemeMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ export default function ThemeMenu() {
};

return (
<div className="dropdown mb-72">
<div tabIndex={0} role="button" className="btn m-1">
<details className="dropdown mb-72 w-full">
<summary tabIndex={0} role="button" className="btn btn-secondary m-1 w-full">
Theme
<svg
width="12px"
Expand All @@ -132,10 +132,10 @@ export default function ThemeMenu() {
>
<path d="M1799 349l242 241-1017 1017L7 590l242-241 775 775 775-775z"></path>
</svg>
</div>
</summary>
<ul
tabIndex={0}
className="w-60 h-[calc(100vh-6rem)] dropdown-content z-[1] p-2 shadow-2xl bg-base-300 rounded-box overflow-y-scroll scroll-mr-2"
className="w-full h-[calc(100vh-6rem)] dropdown-content z-[1] p-2 shadow-2xl bg-base-300 rounded-box overflow-y-scroll scroll-mr-2"
>
{themesArray.map((arrayThemeName) => (
<ThemePod
Expand All @@ -146,6 +146,6 @@ export default function ThemeMenu() {
/>
))}
</ul>
</div>
</details>
);
}

0 comments on commit 8123a82

Please sign in to comment.