Skip to content

Commit

Permalink
fix: Body Content get shifted to the right edge
Browse files Browse the repository at this point in the history
Removed margin.
  • Loading branch information
jaieds committed Oct 14, 2024
1 parent 51248a3 commit 11ae0d5
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 11ae0d5

Please sign in to comment.