From 92d9093fcaabf3b14fb01a11f825bbf02ac8133b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Fri, 1 Dec 2017 10:48:55 +0100 Subject: [PATCH] fixed sass warnings --- public/sass/components/_page_header.scss | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/public/sass/components/_page_header.scss b/public/sass/components/_page_header.scss index 24e1570b996..629fcc6f2ca 100644 --- a/public/sass/components/_page_header.scss +++ b/public/sass/components/_page_header.scss @@ -105,7 +105,7 @@ font-size: 18px; } - &:first-child:before { + &:first-child::before { left: 14px; } @@ -120,13 +120,13 @@ background: linear-gradient(#333, #000); } - &.active:after, - &:hover:after { + &.active::after, + &:hover::after { background: #333; background: linear-gradient(135deg, #333, #000); } - &:after { + &::after { content: ''; position: absolute; top: 0; @@ -152,7 +152,7 @@ } // we dont need an arrow after the last link - &:last-child:after { + &:last-child::after { content: none; } }