Skip to content

Commit

Permalink
responsive default margins
Browse files Browse the repository at this point in the history
  • Loading branch information
processprocess committed Apr 12, 2022
1 parent 1b88c93 commit 08d6642
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions extensions/amp-story-captions/0.1/amp-story-captions.css
Expand Up @@ -2,12 +2,14 @@ amp-story-captions {
white-space: pre-wrap;
z-index: 1;
font-size: calc(2.5 * var(--story-page-vh, 8px)) !important;
margin: 1em 0 !important;
}

amp-video amp-story-captions {
position: absolute !important;
bottom: 5.875em !important;
width: 100% !important;
margin: 0 !important;
}

.amp-story-captions-cue-wrapper {
Expand Down

0 comments on commit 08d6642

Please sign in to comment.