Skip to content

Commit

Permalink
fix bleed full mode
Browse files Browse the repository at this point in the history
  • Loading branch information
timlrx committed Jul 25, 2023
1 parent c41211e commit 75533d5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/grumpy-bears-sleep.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'pliny': patch
---

fix bleed full mode
2 changes: 1 addition & 1 deletion packages/pliny/src/ui/Bleed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const Bleed = ({ full, children }: BleedProps) => {
return (
<div
className={`relative mt-6 ${
full ? 'left-2/4 right-2/4 mx-[-50vw]' : '-mx-6 md:-mx-8 2xl:-mx-24'
full ? 'ml-[calc(-50vw+50%)] mr-[calc(-50vw+50%)]' : '-mx-6 md:-mx-8 2xl:-mx-24'
}`}
>
{children}
Expand Down

0 comments on commit 75533d5

Please sign in to comment.