We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fe0e2d9 + 8c9caca commit 1cfefb9Copy full SHA for 1cfefb9
packages/react-notion-x/src/components/asset.tsx
@@ -155,6 +155,7 @@ export const Asset: React.FC<{
155
} else if (block.type === 'pdf') {
156
style.overflow = 'auto'
157
style.background = 'rgb(226, 226, 226)'
158
+ style.display = 'block'
159
160
if (!style.padding) {
161
style.padding = '8px 16px'
0 commit comments