mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-06-02 15:49:50 -04:00
Add width and height attributes to cover images (#519)
- Ensures that the browser can allocate the correct amount of space in the document while the image is loading. - Reduces CLS #499
This commit is contained in:
parent
1214963760
commit
dcbe6277bb
2 changed files with 4 additions and 2 deletions
|
@ -98,6 +98,7 @@
|
|||
border-radius: var(--radius);
|
||||
pointer-events: none;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.entry-cover a {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue