From 0176219302497f0f129dede5ae643eede7873ae8 Mon Sep 17 00:00:00 2001 From: Lee Moody Date: Wed, 19 Feb 2020 17:01:34 +0000 Subject: [PATCH] Always position the play button to the left. Always align left, even when `text-align:center` is inherited. Fixes https://github.com/Financial-Times/o-video/issues/154 --- src/scss/_placeholder.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/scss/_placeholder.scss b/src/scss/_placeholder.scss index c08f646..a93394a 100644 --- a/src/scss/_placeholder.scss +++ b/src/scss/_placeholder.scss @@ -33,6 +33,8 @@ .o-video__play-button { position: absolute; bottom: 0; + // always align left, even when `text-align:center` is inherited + left: 0; padding: 0; border: 0; background-color: transparent;