Skip to content

Commit

Permalink
fix: fix invalid display property in objectFit example (#2521)
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj authored Jan 19, 2024
1 parent a663fd8 commit 214207b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/tidy-houses-sleep.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@react-pdf/examples': patch
---

Fix invalid display property in objectFit example
3 changes: 0 additions & 3 deletions packages/examples/src/objectFit/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,11 @@ const styles = StyleSheet.create({
width: '200pt',
height: '200pt',
border: '1px solid red',
display: 'block',
backgroundColor: 'tomato',
marginBottom: '10',
},
});


const Quixote = () => (
<Document>
<Page>
Expand Down Expand Up @@ -54,5 +52,4 @@ const Quixote = () => (
</Document>
);


export default Quixote;

0 comments on commit 214207b

Please sign in to comment.