fix: youtube thumbnail having strange formats

This commit is contained in:
PandaDEV 2024-12-17 00:00:21 +10:00
parent 14a13f44bb
commit 345f7e3f09
No known key found for this signature in database
GPG key ID: 13EFF9BAF70EE75C
2 changed files with 30 additions and 33 deletions

View file

@ -111,7 +111,7 @@ $mutedtext: #78756f;
align-items: center;
overflow: hidden;
&:not(:has(.full-image, .image)) {
&:not(:has(.image)) {
padding: 8px;
}
@ -119,23 +119,6 @@ $mutedtext: #78756f;
font-family: CommitMono Nerd Font !important;
}
.full-image {
width: 100%;
height: 100%;
position: relative;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
img {
width: 100%;
height: 100%;
object-fit: contain;
object-position: center;
}
}
.image {
width: 100%;
height: 100%;