Skip to content
This repository has been archived by the owner on Nov 26, 2021. It is now read-only.

Commit

Permalink
Gives the placeholder play button dimensions (#152)
Browse files Browse the repository at this point in the history
Previously the `<button>` element wouldn't have a position or dimensions
which resulted in no outline when it had focus.

This requires a focus outline so keyboard users are able to start the
video.
  • Loading branch information
GlynnPhillips authored Jan 29, 2020
1 parent bf49335 commit 434f4a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scss/_placeholder.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
}

.o-video__play-button {
position: absolute;
bottom: 0;
padding: 0;
border: 0;
Expand All @@ -49,7 +50,6 @@
}

.o-video__play-cta {
position: absolute;
display: flex;
bottom: 0;
left: 0;
Expand Down

0 comments on commit 434f4a2

Please sign in to comment.