Fix CLS due to image CSS
This commit is contained in:
parent
763ce3d83e
commit
cd62747f39
2 changed files with 4 additions and 4 deletions
|
|
@ -45,8 +45,6 @@
|
|||
max-height: 60vh;
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
width: auto;
|
||||
height: auto;
|
||||
display: block;
|
||||
margin-inline: auto;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -115,8 +115,10 @@ body {
|
|||
iframe,
|
||||
img,
|
||||
svg {
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
max-block-size: 100%;
|
||||
max-inline-size: 100%;
|
||||
inline-size: auto;
|
||||
block-size: auto;
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue