From 0b8c1dd2c22fc329cef3f60f8f56aaff78a119d1 Mon Sep 17 00:00:00 2001 From: Sankhadeep Dutta Date: Mon, 12 Aug 2024 13:41:33 +0530 Subject: [PATCH] chore: refactor code --- pkgdown/extra.css | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pkgdown/extra.css b/pkgdown/extra.css index c8ba8489..be062b69 100644 --- a/pkgdown/extra.css +++ b/pkgdown/extra.css @@ -25,11 +25,7 @@ } .navbar .navbar-nav .nav-item .dropdown-menu .dropdown-item { - &.active { - background-color: var(--primary-color); - color: #fff; - } - &:hover { + &.active, &:hover { background-color: var(--primary-color); color: #fff; }