fine tuned .html-thumbnail.html img widths to prevent overflow

This commit is contained in:
Mark Valentino 2024-08-15 19:00:39 -04:00
parent 50c9d99a85
commit d20068e3fc

View file

@ -1002,14 +1002,18 @@ a.tag:hover {
}
&:first-child .html-thumbnail.html {
width: 540px;
height: 405px;
@media (max-device-width:480px), screen and (max-width:800px) {
width: 270px;
height: 202px;
}
}
&:first-child .html-thumbnail.html img {
width: 540px;
height: 405px;
aspect-ratio: 540 / 405;
height: auto;
max-width: 540px;
width: 52vw;
float: left;
@media (max-device-width:480px), screen and (max-width:800px) {
width: 270px;
height: 202px;