@@ -41,6 +41,7 @@ likely require custom styling to work well.
4141</CodeBlock >
4242
4343## Forms
44+
4445Use ` <Form inline> ` and your various form controls within the Navbar.
4546Align the contents as needed with utility classes.
4647
@@ -99,13 +100,13 @@ viewports when your navbar is collapsed.
99100
100101You can use Bootstrap's <DocLink path = " /utilities/position/" >position utilities</DocLink > to
101102place navbars in non-static positions. Choose from fixed to the top, fixed to the bottom, or
102- stickied to the top (scrolls with the page until it reaches the top, then stays there). Fixed
103- navbars use ` position: fixed ` , meaning they’re pulled from the normal flow of the DOM and may
103+ stickied to the top (scrolls with the page until it reaches the top, then stays there), or
104+ stickied to the bottom (scrolls with the page until it reaches the bottom, then stays there).
105+
106+ Fixed navbars use ` position: fixed ` , meaning they’re pulled from the normal flow of the DOM and may
104107require custom CSS (e.g., padding-top on the ` <body> ` ) to prevent overlap with other elements.
105- Also note that ` .sticky-top ` uses ` position: sticky ` , which
106- [ isn’t fully supported in every browser] ( https://caniuse.com/#feat=css-sticky ) .
107108
108- Since these positioning needs are so common for Navbars , we've added convenience props for them.
109+ Since these positioning needs are so common for navbars , we've added convenience props for them.
109110
110111### Fixed top
111112
@@ -125,6 +126,12 @@ Since these positioning needs are so common for Navbars, we've added convenience
125126< Navbar sticky= " top" / >
126127```
127128
129+ ### Sticky bottom
130+
131+ ``` jsx
132+ < Navbar sticky= " bottom" / >
133+ ```
134+
128135## Scrolling
129136
130137You can use the ` navbarScroll ` prop in a ` <Nav> ` to enable vertical scrolling within the toggleable
0 commit comments