From 9cf407fafb426aeb33d954b118c35727419fa30b Mon Sep 17 00:00:00 2001 From: Charles Teague Date: Thu, 9 Nov 2023 16:00:39 -0500 Subject: [PATCH] Improve navbar toggler --- .../formats/dashboard/quarto-dashboard.scss | 22 +++++++++++++++++++ .../formats/dashboard/title-block.html | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/src/resources/formats/dashboard/quarto-dashboard.scss b/src/resources/formats/dashboard/quarto-dashboard.scss index 2a3420689b..7577bb58d9 100644 --- a/src/resources/formats/dashboard/quarto-dashboard.scss +++ b/src/resources/formats/dashboard/quarto-dashboard.scss @@ -85,6 +85,28 @@ $valuebox-colors: ( padding-left: 0; } } + + .navbar-toggler { + margin-right: 0; + } + + .navbar-toggler-icon { + height: 1em; + width: 1em; + background-image: url('data:image/svg+xml,'); + } + + .navbar-brand-container { + padding-right: 1em; + } + + .navbar-title { + font-size: 1.1em; + } + + .navbar-nav { + font-size: 0.9em; + } } #quarto-dashboard-header { diff --git a/src/resources/formats/dashboard/title-block.html b/src/resources/formats/dashboard/title-block.html index c5c8344a0d..66bb3e3663 100644 --- a/src/resources/formats/dashboard/title-block.html +++ b/src/resources/formats/dashboard/title-block.html @@ -2,7 +2,7 @@