Skip to content

Commit

Permalink
Change "PLAY VIDEO" and "PAUSE VIDEO" to normal case, use text-transf…
Browse files Browse the repository at this point in the history
…orm to transform them to uppercase
  • Loading branch information
boggs committed Oct 21, 2021
1 parent 44e1c62 commit 32a90db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
<div class="row">
<div class="col-12">
<button class="btn btn-video-control btn-pause btn-secondary d-none">
<span>{% trans "PAUSE VIDEO" context "Pause button for video" %}</span>
<span>{% trans "Pause video" context "Pause button for video" %}</span>
</button>
<button class="btn btn-video-control btn-play btn-secondary d-none">
<span>{% trans "PLAY VIDEO" context "Play button for video" %}</span>
<span>{% trans "Play video" context "Play button for video" %}</span>
</button>
</div>
</div>
Expand Down
1 change: 1 addition & 0 deletions source/sass/mozfest.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ body.mozfest {
height: $icon-size;
background: center left/$icon-size $icon-size no-repeat transparent;
padding-left: calc(#{$icon-size} + 0.5rem);
text-transform: uppercase;
// due to a Safari bug, we have to remove transition for these buttons
// so background SVGs don't get resized on hover
transition: none;
Expand Down

0 comments on commit 32a90db

Please sign in to comment.