Skip to content

Commit

Permalink
Update to add remove video styles
Browse files Browse the repository at this point in the history
  • Loading branch information
occupant committed Nov 14, 2022
1 parent bd87e2a commit ee5572e
Show file tree
Hide file tree
Showing 8 changed files with 38 additions and 4 deletions.
9 changes: 9 additions & 0 deletions css/drupal.ckeditor.iframe.css
Original file line number Diff line number Diff line change
Expand Up @@ -339,3 +339,12 @@ drupal-media[data-view-mode="full"] .align-center {
background-color: white;
font-size: 0.75rem;
}

/* embedded media */

.media--type-soundcloud iframe,
.media--type-remote-audio iframe {
width: 100%;
height: 152px;
margin-top: calc(var(--leading) * 1rem);
}
2 changes: 1 addition & 1 deletion css/drupal.ckeditor.iframe.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions css/styles.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion css/styles.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/styles.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/styles.min.css.map

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions src/css/base/media.base.css
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,11 @@ svg {
.img-rounded img {
border-radius: 9999px;
}

/* embedded media */
.media--type-soundcloud iframe,
.media--type-remote-audio iframe {
width: 100%;
height: 152px;
margin-top: calc(var(--leading) * 1rem);
}
8 changes: 8 additions & 0 deletions src/css/drupal.ckeditor.iframe.css
Original file line number Diff line number Diff line change
Expand Up @@ -247,3 +247,11 @@ drupal-media[data-view-mode="full"] .align-center {
background-color: white;
font-size: 0.75rem;
}

/* embedded media */
.media--type-soundcloud iframe,
.media--type-remote-audio iframe {
width: 100%;
height: 152px;
margin-top: calc(var(--leading) * 1rem);
}

0 comments on commit ee5572e

Please sign in to comment.