|
70 | 70 | <main> |
71 | 71 | <h1 class="visually-hidden">Sidebars examples</h1> |
72 | 72 |
|
73 | | - <div class="d-flex flex-column p-3 text-white bg-dark" style="width: 280px;"> |
| 73 | + <div class="d-flex flex-column flex-shrink-0 p-3 text-white bg-dark" style="width: 280px;"> |
74 | 74 | <a href="/" class="d-flex align-items-center mb-3 mb-md-0 me-md-auto text-white text-decoration-none"> |
75 | 75 | <svg class="bi me-2" width="40" height="32"><use xlink:href="#bootstrap"/></svg> |
76 | 76 | <span class="fs-4">Sidebar</span> |
@@ -126,7 +126,7 @@ <h1 class="visually-hidden">Sidebars examples</h1> |
126 | 126 |
|
127 | 127 | <div class="b-example-divider"></div> |
128 | 128 |
|
129 | | - <div class="d-flex flex-column p-3 bg-light" style="width: 280px;"> |
| 129 | + <div class="d-flex flex-column flex-shrink-0 p-3 bg-light" style="width: 280px;"> |
130 | 130 | <a href="/" class="d-flex align-items-center mb-3 mb-md-0 me-md-auto link-dark text-decoration-none"> |
131 | 131 | <svg class="bi me-2" width="40" height="32"><use xlink:href="#bootstrap"/></svg> |
132 | 132 | <span class="fs-4">Sidebar</span> |
@@ -182,7 +182,7 @@ <h1 class="visually-hidden">Sidebars examples</h1> |
182 | 182 |
|
183 | 183 | <div class="b-example-divider"></div> |
184 | 184 |
|
185 | | - <div class="d-flex flex-column bg-light" style="width: 4.5rem;"> |
| 185 | + <div class="d-flex flex-column flex-shrink-0 bg-light" style="width: 4.5rem;"> |
186 | 186 | <a href="/" class="d-block p-3 link-dark text-decoration-none" title="Icon-only" data-bs-toggle="tooltip" data-bs-placement="right"> |
187 | 187 | <svg class="bi" width="40" height="32"><use xlink:href="#bootstrap"/></svg> |
188 | 188 | <span class="visually-hidden">Icon-only</span> |
@@ -230,7 +230,7 @@ <h1 class="visually-hidden">Sidebars examples</h1> |
230 | 230 |
|
231 | 231 | <div class="b-example-divider"></div> |
232 | 232 |
|
233 | | - <div class="p-3 bg-white" style="width: 280px;"> |
| 233 | + <div class="flex-shrink-0 p-3 bg-white" style="width: 280px;"> |
234 | 234 | <a href="/" class="d-flex align-items-center pb-3 mb-3 link-dark text-decoration-none border-bottom"> |
235 | 235 | <svg class="bi me-2" width="30" height="24"><use xlink:href="#bootstrap"/></svg> |
236 | 236 | <span class="fs-5 fw-semibold">Collapsible</span> |
@@ -293,7 +293,7 @@ <h1 class="visually-hidden">Sidebars examples</h1> |
293 | 293 |
|
294 | 294 | <div class="b-example-divider"></div> |
295 | 295 |
|
296 | | - <div class="d-flex flex-column align-items-stretch bg-white" style="width: 380px;"> |
| 296 | + <div class="d-flex flex-column align-items-stretch flex-shrink-0 bg-white" style="width: 380px;"> |
297 | 297 | <a href="/" class="d-flex align-items-center flex-shrink-0 p-3 link-dark text-decoration-none border-bottom"> |
298 | 298 | <svg class="bi me-2" width="30" height="24"><use xlink:href="#bootstrap"/></svg> |
299 | 299 | <span class="fs-5 fw-semibold">List group</span> |
|
0 commit comments