Skip to content

Commit

Permalink
MWPW-162345: Fix aside video on tablet (#3605)
Browse files Browse the repository at this point in the history
* MWPW-162345: Fix aside video on tablet

* MWPW-162345: Remove unnecessary aside from selector

Co-authored-by: Rares Munteanu <[email protected]>

---------

Co-authored-by: Rares Munteanu <[email protected]>
  • Loading branch information
zagi25 and overmyheadandbody authored Feb 5, 2025
1 parent 0f820d8 commit 591587b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion libs/blocks/aside/aside.css
Original file line number Diff line number Diff line change
Expand Up @@ -997,7 +997,8 @@
}

.aside.split.media-top-tablet .split-image img,
.aside.split.media-bottom-tablet .split-image img {
.aside.split.media-bottom-tablet .split-image img,
.aside.split:is(.media-top-tablet, .media-bottom-tablet) .split-image video {
position: relative;
width: 100%;
max-width: 100%;
Expand Down
3 changes: 2 additions & 1 deletion libs/blocks/video/video.css
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,8 @@ video {
}

@media (min-width: 600px) and (max-width: 1199px) {
.hero-marquee.asset-left .video-container.video-holder .pause-play-wrapper {
.hero-marquee.asset-left .video-container.video-holder .pause-play-wrapper,
.aside:is(.media-top-tablet, .media-bottom-tablet) .video-container.video-holder .pause-play-wrapper {
left: auto;
right: 2%;
}
Expand Down

0 comments on commit 591587b

Please sign in to comment.