From d1d4637713c673274fa43d031d8d182efd1e07a7 Mon Sep 17 00:00:00 2001 From: Eduardo Date: Sun, 6 Oct 2019 12:52:10 +0200 Subject: [PATCH] Fix an samll issue on Safari --- src/sass/components/articles/_featured-article.scss | 5 +++++ src/sass/components/articles/_featured-slider.scss | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/src/sass/components/articles/_featured-article.scss b/src/sass/components/articles/_featured-article.scss index 4183747..450df94 100644 --- a/src/sass/components/articles/_featured-article.scss +++ b/src/sass/components/articles/_featured-article.scss @@ -1,9 +1,14 @@ .m-featured-article { position: relative; height: 100%; + overflow: hidden; background-color: var(--primary-subtle-color); z-index: 1; + @include respond-to('medium') { + border-radius: 10px; + } + &:hover { .m-featured-article__author { @include bs(0 4px 8px rgba(0, 0, 0, 0.3)); diff --git a/src/sass/components/articles/_featured-slider.scss b/src/sass/components/articles/_featured-slider.scss index 80cb2c3..107450b 100644 --- a/src/sass/components/articles/_featured-slider.scss +++ b/src/sass/components/articles/_featured-slider.scss @@ -41,6 +41,10 @@ } } +.m-featured-slider:not(:root:root) { + overflow: hidden !important; +} + .m-featured-slider__list { list-style-type: none; padding: 0;