fix: use transform scale instead of width for better border radius preservation
This commit is contained in:
1 parent
c490508252
commit
136144b8ec
1 file changed
+2
-4
@@ -19,10 +19,8 @@ const FallbackBackground = () => {
|
||||
zIndex: 1,
|
||||
border: "none",
|
||||
borderRadius: theme.spacing(8),
|
||||
width: "66.67%", // 2/3 of original size
|
||||
maxWidth: "66.67%",
|
||||
display: "block",
|
||||
objectFit: "contain",
|
||||
width: "100%",
|
||||
transform: "scale(0.6667)",
|
||||
}}
|
||||
/>
|
||||
<Box
|
||||
|
||||
Reference in new issue
Block a user