From fdce4f882af2be598c8fcf6203652edd1ff226ea Mon Sep 17 00:00:00 2001 From: John Donmoyer Date: Tue, 11 Jun 2024 11:32:13 -0400 Subject: [PATCH] restyle dropdown --- src/css/custom.css | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/css/custom.css b/src/css/custom.css index 618cba2b0..bc5b2e657 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -351,10 +351,13 @@ td p:last-child { .navbar__link { margin-left: 10px; margin-right: 10px; - margin-top: 4px; border-bottom: 2px solid transparent; } +.navbar__item { + margin-top: 4px; +} + .navbar__link--active { font-weight: 500; border-bottom: 2px solid var(--ifm-color-primary); @@ -378,6 +381,12 @@ td p:last-child { background-color: var(--white); } +.dropdown > .navbar__link:after { + border-width: 0.3em 0.3em 0; + margin-left: 0.5em; + top: 0; +} + /* Mobile Nav Customize */ .navbar__brand { margin-right: 0.5rem;