Skip to content

Commit 72f98b2

Browse files
authored
Merge pull request #79 from aquaductape/fix-styling
fix styling
2 parents b095265 + db82261 commit 72f98b2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: playground/components/header.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export const Header: Component<{
7171
</h1>
7272
<div class="flex items-center space-x-2">
7373
<Dismiss
74-
classList={{ 'absolute top-[53px] right-[10px] w-[fit-content]': showMenu() }}
74+
classList={{ 'absolute top-[53px] right-[10px] w-[fit-content] z-10': showMenu() }}
7575
menuButton={() => menuBtnEl}
7676
open={showMenu}
7777
setOpen={setShowMenu}

Diff for: playground/components/zoomDropdown.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export const ZoomDropdown: Component<{ showMenu: boolean }> = (props) => {
102102
</button>
103103
<Dismiss menuButton={btnEl} open={open} setOpen={setOpen}>
104104
<div
105-
class="absolute top-full left-1/2 bg-white dark:bg-gray-700 text-brand-default border border-gray-900 rounded shadow p-6 -translate-x-1/2 z-10"
105+
class="fixed right-0 top-[48px] bg-white dark:bg-gray-700 text-brand-default border border-gray-900 rounded shadow p-6 w-min z-10"
106106
classList={{
107107
'left-1/4': props.showMenu,
108108
}}

0 commit comments

Comments
 (0)