Skip to content

Commit

Permalink
Merge pull request #134 from brainstormforce/drawer-story-fix
Browse files Browse the repository at this point in the history
fix: Drawer Body Content get shifted to the right edge
  • Loading branch information
vrundakansara authored Oct 14, 2024
2 parents a297045 + 11ae0d5 commit df8a28a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/drawer/drawer.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ const ControlledTemplate = ( args ) => {
</Drawer.Description>
</Drawer.Header>
<Drawer.Body className="overflow-x-hidden">
<div className="w-full h-full mx-5 flex items-center justify-center border border-border-subtle border-dashed rounded-md bg-background-secondary">
<div className="w-full h-full flex items-center justify-center border border-border-subtle border-dashed rounded-md bg-background-secondary">
<p className="m-0 text-text-secondary">
Body content
</p>
Expand Down Expand Up @@ -266,7 +266,7 @@ const UncontrolledTemplate = ( args ) => (
</Drawer.Description>
</Drawer.Header>
<Drawer.Body className="overflow-x-hidden">
<div className="w-full h-full mx-5 flex items-center justify-center border border-border-subtle border-dashed rounded-md bg-background-secondary">
<div className="w-full h-full flex items-center justify-center border border-border-subtle border-dashed rounded-md bg-background-secondary">
<p className="m-0 text-text-secondary">
Body content
</p>
Expand Down

0 comments on commit df8a28a

Please sign in to comment.