mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
Fix CLS due to image CSS
This commit is contained in:
@@ -45,8 +45,6 @@
|
|||||||
max-height: 60vh;
|
max-height: 60vh;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
width: auto;
|
|
||||||
height: auto;
|
|
||||||
display: block;
|
display: block;
|
||||||
margin-inline: auto;
|
margin-inline: auto;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -115,8 +115,10 @@ body {
|
|||||||
iframe,
|
iframe,
|
||||||
img,
|
img,
|
||||||
svg {
|
svg {
|
||||||
max-width: 100%;
|
max-block-size: 100%;
|
||||||
max-height: 100%;
|
max-inline-size: 100%;
|
||||||
|
inline-size: auto;
|
||||||
|
block-size: auto;
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user