Skip to content

Commit

Permalink
fix(drawer): fix layout for full screen tray
Browse files Browse the repository at this point in the history
Fixes #343
  • Loading branch information
stdavis committed Nov 12, 2024
1 parent c9aae3a commit 7c227d4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/utah-design-system/src/components/Drawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,20 @@ const drawer = tv({
size: 'normal',
},
compoundVariants: [
{
type: 'tray',
size: 'normal',
class: {
content: "data-[open='true']:h-80",
},
},
{
type: 'tray',
size: 'fullscreen',
class: {
container:
'data-[open="true"]:fixed data-[open="true"]:z-30 data-[open="true"]:h-full',
content: 'data-[open="true"]:h-full',
},
},
{
Expand Down

0 comments on commit 7c227d4

Please sign in to comment.