Skip to content

Commit

Permalink
fix: Drawer pop-up height issue
Browse files Browse the repository at this point in the history
  • Loading branch information
AricRedemption committed May 10, 2024
1 parent 10b7e74 commit e209870
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
11 changes: 7 additions & 4 deletions src/components/ui/drawer/DrawerContent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,13 @@ const forwarded = useForwardPropsEmits(props, emits)
<DrawerPortal to="main">
<DrawerOverlay />
<DrawerContent
v-bind="forwarded" :class="cn(
'absolute inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border bg-white',
props.class,
)"
v-bind="forwarded"
:class="
cn(
'absolute inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border bg-white after:!h-0',
props.class
)
"
>
<!-- <div class="mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted" /> -->
<slot />
Expand Down
2 changes: 1 addition & 1 deletion src/pages/wallet/components/AssetTabs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { Tabs, TabsContent, TabsList, TabsTrigger } from '@/components/ui/tabs'
<TabsList class="p-0 gap-6">
<TabsTrigger value="Cypto">Cypto</TabsTrigger>
<TabsTrigger value="NFTs">NFTs</TabsTrigger>
<TabsTrigger value="Runes">Runes</TabsTrigger>
<TabsTrigger value="Runes" v-if="false">Runes</TabsTrigger>
<!-- <TabsTrigger value="Activity">Activity</TabsTrigger> -->
</TabsList>
<TabsContent value="Cypto">
Expand Down

0 comments on commit e209870

Please sign in to comment.