mirror of
https://github.com/rico-vz/HeimerdingerLoL.git
synced 2026-02-04 03:33:13 +01:00
perf(seo): add image dimensions and aspect-ratio handling
This commit is contained in:
@@ -129,3 +129,16 @@ ins.adsbygoogle[data-ad-status="unfilled"] {
|
||||
overflow-y: auto;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.prose img {
|
||||
height: auto;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.prose img:not([width]):not([height]) {
|
||||
aspect-ratio: attr(width) / attr(height);
|
||||
}
|
||||
|
||||
.prose img[width][height] {
|
||||
aspect-ratio: attr(width) / attr(height);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user