From 312b1d1d174d063a1d99b254400fcca7a1fc6eb0 Mon Sep 17 00:00:00 2001 From: Fedor Katurov Date: Thu, 24 Oct 2019 17:37:23 +0700 Subject: [PATCH] fixed stripes at hero --- src/components/flow/FlowHero/styles.scss | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/src/components/flow/FlowHero/styles.scss b/src/components/flow/FlowHero/styles.scss index bad60ff3..7d5b0e62 100644 --- a/src/components/flow/FlowHero/styles.scss +++ b/src/components/flow/FlowHero/styles.scss @@ -14,6 +14,17 @@ background: $content_bg; border-radius: $cell_radius; overflow: hidden; + + &::after { + content: ' '; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: url('~/sprites/stripes.svg') rgba(0, 0, 0, 0.3); + z-index: 4; + } } .hero { @@ -32,16 +43,6 @@ cursor: pointer; transform: translate(0, 0); - &::after { - content: ' '; - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - background: url('~/sprites/stripes.svg') rgba(0, 0, 0, 0.3); - } - img { width: 0; height: 0;