@@ -41,6 +41,7 @@ likely require custom styling to work well.
41
41
</CodeBlock >
42
42
43
43
## Forms
44
+
44
45
Use ` <Form inline> ` and your various form controls within the Navbar.
45
46
Align the contents as needed with utility classes.
46
47
@@ -99,13 +100,13 @@ viewports when your navbar is collapsed.
99
100
100
101
You can use Bootstrap's <DocLink path = " /utilities/position/" >position utilities</DocLink > to
101
102
place 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
104
107
require 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 ) .
107
108
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.
109
110
110
111
### Fixed top
111
112
@@ -125,6 +126,12 @@ Since these positioning needs are so common for Navbars, we've added convenience
125
126
< Navbar sticky= " top" / >
126
127
```
127
128
129
+ ### Sticky bottom
130
+
131
+ ``` jsx
132
+ < Navbar sticky= " bottom" / >
133
+ ```
134
+
128
135
## Scrolling
129
136
130
137
You can use the ` navbarScroll ` prop in a ` <Nav> ` to enable vertical scrolling within the toggleable
0 commit comments