Skip to content

Commit 153ddac

Browse files
authored
fix: theme picker dropdown opens downward (#11)
1 parent a7e3d56 commit 153ddac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/react/ThemeSwitcher.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export default function ThemeSwitcher() {
5454
</button>
5555

5656
{isOpen && (
57-
<div className="absolute right-0 bottom-full mb-2 w-48 bg-ctp-base border border-ctp-surface1 rounded-lg shadow-xl z-50 overflow-hidden">
57+
<div className="absolute right-0 top-full mt-2 w-48 bg-ctp-base border border-ctp-surface1 rounded-lg shadow-xl z-50 overflow-hidden">
5858
<div className="py-1">
5959
{THEMES.map((t) => (
6060
<button

0 commit comments

Comments
 (0)