Fix video thumbnail container CSS - support div element not just a

This commit is contained in:
russell@unturf.com 2026-01-22 12:04:43 -05:00
parent d254147362
commit ded0941839

View file

@ -419,16 +419,16 @@ div.product-images img.product-main {
}
/* Video play button overlay for hero thumbnails */
a.video-thumbnail-container {
.video-thumbnail-container {
position: relative;
display: block;
display: inline-block;
cursor: pointer;
text-decoration: none;
}
a.video-thumbnail-container img.product-main {
.video-thumbnail-container img.product-main {
display: block;
width: 100%;
max-width: 100%;
height: auto;
}
@ -463,7 +463,7 @@ a.video-thumbnail-container img.product-main {
color: inherit;
}
a.video-thumbnail-container:hover .video-play-overlay {
.video-thumbnail-container:hover .video-play-overlay {
background-color: rgba(255, 0, 0, 0.6);
}