Fix video thumbnail container CSS - support div element not just a
This commit is contained in:
parent
d254147362
commit
ded0941839
1 changed files with 5 additions and 5 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue