aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Déramond <[email protected]>2023-04-10 09:02:03 +0200
committerMark Otto <[email protected]>2023-04-10 09:47:45 -0700
commite8311211f3e9b52eac301ef8a5764a8ea1118d31 (patch)
tree572ba85032cf9143c033635c45303a702406f62d
parent8986c5e0a56c41f56cdded2549bc5ecbfa0d4c44 (diff)
downloadbootstrap-e8311211f3e9b52eac301ef8a5764a8ea1118d31.tar.xz
bootstrap-e8311211f3e9b52eac301ef8a5764a8ea1118d31.zip
Docs: fix text rendering of navbar external content
-rw-r--r--site/content/docs/5.3/components/navbar.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/site/content/docs/5.3/components/navbar.md b/site/content/docs/5.3/components/navbar.md
index 32813486e..277ef0429 100644
--- a/site/content/docs/5.3/components/navbar.md
+++ b/site/content/docs/5.3/components/navbar.md
@@ -655,9 +655,9 @@ With a toggler on the left and brand name on the right:
Sometimes you want to use the collapse plugin to trigger a container element for content that structurally sits outside of the `.navbar` . Because our plugin works on the `id` and `data-bs-target` matching, that's easily done!
{{< example >}}
-<div class="collapse" id="navbarToggleExternalContent">
+<div class="collapse" id="navbarToggleExternalContent" data-bs-theme="dark">
<div class="bg-dark p-4">
- <h5 class="text-white h4">Collapsed content</h5>
+ <h5 class="text-body-emphasis h4">Collapsed content</h5>
<span class="text-body-secondary">Toggleable via the navbar brand.</span>
</div>
</div>