From a72f10f964995fac2a747e3506943107fd90d158 Mon Sep 17 00:00:00 2001 From: Haoyu Xu Date: Sun, 9 Jul 2023 04:26:52 -0400 Subject: [PATCH] fix(directory): fixed the color of fast navigation --- directory/src/component/scss/dropdown.module.scss | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/directory/src/component/scss/dropdown.module.scss b/directory/src/component/scss/dropdown.module.scss index 9efb3ae..bab8493 100644 --- a/directory/src/component/scss/dropdown.module.scss +++ b/directory/src/component/scss/dropdown.module.scss @@ -120,13 +120,10 @@ margin-left: 1rem; } - .item_icon { + .item_icon svg { transition: fill cubic-bezier(0.65, 0.05, 0.36, 1) 0.3s; - - svg { - width: 1rem; - fill: var(--text-color); - } + width: 1rem; + fill: var(--text-color); } &:hover, @@ -135,7 +132,7 @@ .text { color: currentColor; } - .item_icon { + .item_icon svg { fill: currentColor; } }