diff options
author | Sam Potts <sam@potts.es> | 2018-03-13 22:00:40 +1100 |
---|---|---|
committer | Sam Potts <sam@potts.es> | 2018-03-13 22:00:40 +1100 |
commit | 5ebe18d0812fe96b40adda8c6ad057197a8d4b39 (patch) | |
tree | 954eb481680dd92496cb3f4a11eb35a5136e7f96 /src | |
parent | 207adde36dd7623b2d65750f00a6568cecf1f629 (diff) | |
download | plyr-5ebe18d0812fe96b40adda8c6ad057197a8d4b39.tar.lz plyr-5ebe18d0812fe96b40adda8c6ad057197a8d4b39.tar.xz plyr-5ebe18d0812fe96b40adda8c6ad057197a8d4b39.zip |
Typography fix
Diffstat (limited to 'src')
-rw-r--r-- | src/sass/base.scss | 1 | ||||
-rw-r--r-- | src/sass/plugins/ads.scss | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/sass/base.scss b/src/sass/base.scss index 307da36e..1a8070a0 100644 --- a/src/sass/base.scss +++ b/src/sass/base.scss @@ -8,6 +8,7 @@ direction: ltr; font-family: $plyr-font-family; + font-variant-numeric: tabular-nums; // Force monosace-esque number widths font-weight: $plyr-font-weight-regular; line-height: $plyr-line-height; max-width: 100%; diff --git a/src/sass/plugins/ads.scss b/src/sass/plugins/ads.scss index 89330611..a5af93ab 100644 --- a/src/sass/plugins/ads.scss +++ b/src/sass/plugins/ads.scss @@ -9,16 +9,17 @@ position: absolute; right: 0; top: 0; - z-index: -1; // Hide it. + z-index: -1; // Hide it by default // Make sure the inner container is big enough for the ad creative. > div, > div iframe { + height: 100%; position: absolute; width: 100%; - height: 100%; } + // The countdown label &::after { background: rgba($plyr-color-gunmetal, 0.8); border-radius: 2px; |