Skip to content

Commit

Permalink
attempt to get yt embed desktop styles at desktop;
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickpatrickpatrick committed Jan 10, 2023
1 parent 5047cb8 commit 42d8c86
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,13 @@
}
}

.gem-c-image-card__image-wrapper--youtube-embed {
@include govuk-media-query($from: tablet) {
float: left;
width: 53%;
}
}

.gem-c-image-card__text-wrapper {
@include govuk-grid-column($width: one-half, $at: tablet);

Expand Down Expand Up @@ -217,6 +224,14 @@
z-index: 1;
}

.gem-c-image-card__image-wrapper--youtube-embed {
@include govuk-media-query($from: tablet) {
transform: scale(0.9);
position: absolute;
}
}


.gem-c-image-card__youtube-thumbnail-image-container {
position: relative;

Expand Down

0 comments on commit 42d8c86

Please sign in to comment.