0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Update navbar and subnav to xxl container

This commit is contained in:
Mark Otto 2020-06-15 14:03:59 -07:00 committed by XhmikosR
parent 6ca54573a9
commit 0cc66b4145
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
<header class="navbar navbar-expand navbar-dark bd-navbar">
<nav class="container-xl flex-wrap flex-md-nowrap" aria-label="Main navigation">
<nav class="container-xxl flex-wrap flex-md-nowrap" aria-label="Main navigation">
<a class="navbar-brand mr-2" href="/" aria-label="Bootstrap">
{{ partial "icons/bootstrap-logo-solid.svg" (dict "class" "d-block" "width" "32" "height" "32") }}
</a>

View File

@ -1,5 +1,5 @@
<nav class="bd-subnavbar pt-2 pb-3 pb-md-2" aria-label="Secondary navigation">
<div class="container-xl d-flex align-items-md-center flex-wrap">
<div class="container-xxl d-flex align-items-md-center flex-wrap">
<form class="bd-search position-relative mb-2 mb-md-0 mr-auto">
<input type="search" class="form-control" id="search-input" placeholder="Search docs..." aria-label="Search docs for..." autocomplete="off" data-docs-version="{{ .Site.Params.docs_version }}">
</form>