From 2e0b2127f50158a173dfcd6a2cdf02fe1c3866b8 Mon Sep 17 00:00:00 2001 From: Salim B Date: Thu, 30 May 2024 19:05:03 +0200 Subject: [PATCH] Improve navbar stylng (#2609) Fix #2606 --- inst/BS5/assets/pkgdown.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/inst/BS5/assets/pkgdown.scss b/inst/BS5/assets/pkgdown.scss index 28cc9a121..b3eafcefc 100644 --- a/inst/BS5/assets/pkgdown.scss +++ b/inst/BS5/assets/pkgdown.scss @@ -32,6 +32,8 @@ $pkgdown-navbar-bg-dark: null !default; background: RGBA(var(--bs-body-color-rgb), 0.1); background: color-mix(in oklab, color-mix(in oklab, var(--bs-body-bg) 95%, var(--bs-primary)) 95%, var(--bs-body-color)); background: $pkgdown-navbar-bg; + // Harmonize alignment of navbar elements (search field vs. rest) + line-height: initial; } [data-bs-theme="dark"] .navbar { background: $pkgdown-navbar-bg-dark;