mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-06-30 22:26:38 -04:00
fix max-width: undefined
This commit is contained in:
@ -28,7 +28,7 @@ const IFrame = ({ src, title, height, width, allowScripts, noScroll, css, ...res
|
||||
loading="lazy"
|
||||
css={{
|
||||
height: `${height}px`,
|
||||
maxWidth: width ? `${width}px` : null,
|
||||
maxWidth: width ? `${width}px` : "100%",
|
||||
...css,
|
||||
}}
|
||||
{...rest}
|
||||
|
Reference in New Issue
Block a user