Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
sceuick committed Oct 6, 2024
1 parent 781e48d commit affb70e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions web/shared/Mode/Detail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,10 @@ export const ModeDetail: Component<{
onSlot(ref)
slots.load(ref)
}}
class="sticky top-0 -mt-[8px] flex h-fit w-screen max-w-[100vw] justify-center"
classList={{ hidden: !canSlot(), 'h-min-[100px]': canSlot() }}
class="h-min-[100px] sticky top-0 -mt-[8px] flex w-screen max-w-[100vw] justify-center"
classList={{
hidden: user.sub?.tier.disableSlots,
}}
>
<Switch>
<Match when={slot()}>
Expand Down

0 comments on commit affb70e

Please sign in to comment.