From 42baf6ac437a44c7472b83289a6b09952d0c01a0 Mon Sep 17 00:00:00 2001 From: Sharyn Date: Tue, 17 Jul 2018 16:40:56 +0200 Subject: [PATCH] hide red underline if hover over search result --- assets/styles/base/mixins.scss | 2 +- components/searchResults/style.scss | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/assets/styles/base/mixins.scss b/assets/styles/base/mixins.scss index c512d6b..2157d58 100644 --- a/assets/styles/base/mixins.scss +++ b/assets/styles/base/mixins.scss @@ -6,7 +6,7 @@ height: calculateRem(1); background-color: $red; position: absolute; - bottom: 0; + bottom: calculateRem(3); left: 0; z-index: -1; } diff --git a/components/searchResults/style.scss b/components/searchResults/style.scss index 37f1e97..bf6364e 100644 --- a/components/searchResults/style.scss +++ b/components/searchResults/style.scss @@ -12,6 +12,10 @@ &:hover h3 { text-decoration: underline; + + &.matched-name::before { + display: none; + } } h3 {