Fixed aspect ratio for thumnails to prevent CLS
このコミットが含まれているのは:
コミット
16c79f1ef5
|
@ -197,6 +197,7 @@ img.thumbnail {
|
|||
display: block; /* See: https://stackoverflow.com/a/11635197 */
|
||||
width: 100%;
|
||||
object-fit: cover;
|
||||
aspect-ratio: 16 / 9;
|
||||
}
|
||||
|
||||
.thumbnail-placeholder {
|
||||
|
|
読み込み中…
新しいイシューから参照