From 43d866313d5849c08f4e0f6589691ad63ee4e42a Mon Sep 17 00:00:00 2001 From: Martijn Cuppens Date: Tue, 31 Mar 2020 22:42:45 +0200 Subject: [PATCH] Fix active state dropdown --- site/assets/scss/_subnav.scss | 4 +--- site/layouts/partials/docs-versions.html | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/site/assets/scss/_subnav.scss b/site/assets/scss/_subnav.scss index e0492edc1b..5b4d2806f9 100644 --- a/site/assets/scss/_subnav.scss +++ b/site/assets/scss/_subnav.scss @@ -11,10 +11,8 @@ box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .05); } - .dropdown-item.active { + .dropdown-item.current { font-weight: 600; - color: $gray-900; - background-color: transparent; background-image: escape-svg($dropdown-active-icon); background-repeat: no-repeat; background-position: .4rem .6rem; diff --git a/site/layouts/partials/docs-versions.html b/site/layouts/partials/docs-versions.html index ef0b4518a8..bfe3c2a559 100644 --- a/site/layouts/partials/docs-versions.html +++ b/site/layouts/partials/docs-versions.html @@ -3,7 +3,7 @@ Bootstrap v{{ .Site.Params.docs_version }}