From 376dd2b01816693c399311239a585afd0bb95ecc Mon Sep 17 00:00:00 2001 From: Jeff Wen Date: Fri, 22 Feb 2019 15:56:37 +0800 Subject: [PATCH] fix: hovering algolia logo break its background color (#1240) * fix: css break when hover algolia logo * Tweak * Improve * Remove empty line --- v1/lib/static/css/main.css | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/v1/lib/static/css/main.css b/v1/lib/static/css/main.css index eecc0c5484d5..763ca8d6fe55 100644 --- a/v1/lib/static/css/main.css +++ b/v1/lib/static/css/main.css @@ -1278,11 +1278,11 @@ input::placeholder { transition: background-color 0.3s; } -.navigationSlider .slidingNav ul li a:focus, -.navigationSlider .slidingNav ul li a:hover, -.navigationSlider .slidingNav ul li.siteNavItemActive a, -.navigationSlider .slidingNav ul li.siteNavGroupActive a { - background: $primaryColor; +.navigationSlider .slidingNav ul li > a:focus, +.navigationSlider .slidingNav ul li > a:hover, +.navigationSlider .slidingNav ul li.siteNavItemActive > a, +.navigationSlider .slidingNav ul li.siteNavGroupActive > a { + background-color: $primaryColor; } /* End of Navigation Slider */