mirror of
https://github.com/discourse/discourse.git
synced 2025-04-03 03:09:32 +08:00
DEV: Remove legacy styles for LazyYT (#27047)
This commit is contained in:
parent
77b032c2b5
commit
0258e985d8
@ -79,19 +79,4 @@ $max_image_height: 150px;
|
|||||||
max-height: $max_image_height;
|
max-height: $max_image_height;
|
||||||
max-width: calc(#{$max_image_height} / 9 * 16);
|
max-width: calc(#{$max_image_height} / 9 * 16);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Prevent overflow of old lazy-yt images
|
|
||||||
// TODO: remove in December 2023
|
|
||||||
.lazyYT.lazyYT-container {
|
|
||||||
border: none;
|
|
||||||
a {
|
|
||||||
display: flex;
|
|
||||||
}
|
|
||||||
.ytp-thumbnail-image {
|
|
||||||
object-fit: contain;
|
|
||||||
height: $max_image_height;
|
|
||||||
width: calc(#{$max_image_height} / 9 * 16);
|
|
||||||
pointer-events: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user