diff options
| author | Julien Déramond <[email protected]> | 2023-06-25 23:46:29 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-06-25 14:46:29 -0700 |
| commit | 6dc18c6adccc1edef22aeaf22e21bce29dc740f0 (patch) | |
| tree | be2066bbba7158a7963809b9e354fd263e906c80 | |
| parent | 213888e17e6f9fe9ea7ae67e9d9c1c3e8494867a (diff) | |
| download | bootstrap-6dc18c6adccc1edef22aeaf22e21bce29dc740f0.tar.xz bootstrap-6dc18c6adccc1edef22aeaf22e21bce29dc740f0.zip | |
Update bottom border on dark navbar example (#38707)
* Docs: drop bottom border from dark navbar example
* Use `.border-body`
| -rw-r--r-- | site/content/docs/5.3/components/navbar.md | 4 |
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 9b9f86a4d..83aaaa403 100644 --- a/site/content/docs/5.3/components/navbar.md +++ b/site/content/docs/5.3/components/navbar.md @@ -331,7 +331,7 @@ Mix and match with other components and utilities as needed. Navbar themes are easier than ever thanks to Bootstrap's combination of Sass and CSS variables. The default is our "light navbar" for use with light background colors, but you can also apply `data-bs-theme="dark"` to the `.navbar` parent for dark background colors. Then, customize with `.bg-*` and additional utilities. <div class="bd-example"> - <nav class="navbar navbar-expand-lg bg-dark border-bottom border-bottom-dark" data-bs-theme="dark"> + <nav class="navbar navbar-expand-lg bg-dark border-bottom border-body" data-bs-theme="dark"> <div class="container-fluid"> <a class="navbar-brand" href="#">Navbar</a> <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarColor01" aria-controls="navbarColor01" aria-expanded="false" aria-label="Toggle navigation"> @@ -420,7 +420,7 @@ Navbar themes are easier than ever thanks to Bootstrap's combination of Sass and </div> ```html -<nav class="navbar bg-dark border-bottom border-bottom-dark" data-bs-theme="dark"> +<nav class="navbar bg-dark border-bottom border-body" data-bs-theme="dark"> <!-- Navbar content --> </nav> |
