You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: .github/CONTRIBUTING.md
+9-9
Original file line number
Diff line number
Diff line change
@@ -18,16 +18,16 @@ the preferred channel for [bug reports](#bug-reports), [features requests](#feat
18
18
and [submitting pull requests](#pull-requests), but please respect the following
19
19
restrictions:
20
20
21
-
* Please **do not** use the issue tracker for personal support requests. Stack Overflow ([`bootstrap-5`](https://stackoverflow.com/questions/tagged/bootstrap-5) tag), [our GitHub Discussions](https://github.com/twbs/bootstrap/discussions) or [IRC](/README.md#community) are better places to get help.
21
+
- Please **do not** use the issue tracker for personal support requests. Stack Overflow ([`bootstrap-5`](https://stackoverflow.com/questions/tagged/bootstrap-5) tag), [our GitHub Discussions](https://github.com/twbs/bootstrap/discussions) or [IRC](/README.md#community) are better places to get help.
22
22
23
-
* Please **do not** derail or troll issues. Keep the discussion on topic and
23
+
- Please **do not** derail or troll issues. Keep the discussion on topic and
24
24
respect the opinions of others.
25
25
26
-
* Please **do not** post comments consisting solely of "+1" or ":thumbsup:".
26
+
- Please **do not** post comments consisting solely of "+1" or ":thumbsup:".
27
27
Use [GitHub's "reactions" feature](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/)
28
28
instead. We reserve the right to delete comments which violate this rule.
29
29
30
-
* Please **do not** open issues regarding the official themes offered on <https://themes.getbootstrap.com/>.
30
+
- Please **do not** open issues regarding the official themes offered on <https://themes.getbootstrap.com/>.
31
31
Instead, please email any questions or feedback regarding those themes to `themes AT getbootstrap DOT com`.
32
32
33
33
@@ -101,16 +101,16 @@ Sometimes bugs reported to us are actually caused by bugs in the browser(s) them
Copy file name to clipboardexpand all lines: site/content/docs/5.2/components/modal.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -858,8 +858,8 @@ const myModal = new bootstrap.Modal('#myModal', {
858
858
| Method | Description |
859
859
| --- | --- |
860
860
|`dispose`| Destroys an element's modal. (Removes stored data on the DOM element) |
861
-
|`getInstance`|*Static* method which allows you to get the modal instance associated with a DOM element. |
862
-
|`getOrCreateInstance`|*Static* method which allows you to get the modal instance associated with a DOM element, or create a new one in case it wasn't initialized. |
861
+
|`getInstance`|_Static_ method which allows you to get the modal instance associated with a DOM element. |
862
+
|`getOrCreateInstance`|_Static_ method which allows you to get the modal instance associated with a DOM element, or create a new one in case it wasn't initialized. |
863
863
|`handleUpdate`| Manually readjust the modal's position if the height of a modal changes while it is open (i.e. in case a scrollbar appears). |
864
864
|`hide`| Manually hides a modal. **Returns to the caller before the modal has actually been hidden** (i.e. before the `hidden.bs.modal` event occurs). |
865
865
|`show`| Manually opens a modal. **Returns to the caller before the modal has actually been shown** (i.e. before the `shown.bs.modal` event occurs). Also, you can pass a DOM element as an argument that can be received in the modal events (as the `relatedTarget` property). (i.e. `const modalToggle = document.getElementById('toggleMyModal'); myModal.show(modalToggle)`. |
Copy file name to clipboardexpand all lines: site/content/docs/5.2/components/offcanvas.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ toc: true
11
11
Offcanvas is a sidebar component that can be toggled via JavaScript to appear from the left, right, top, or bottom edge of the viewport. Buttons or anchors are used as triggers that are attached to specific elements you toggle, and `data` attributes are used to invoke our JavaScript.
12
12
13
13
- Offcanvas shares some of the same JavaScript code as modals. Conceptually, they are quite similar, but they are separate plugins.
14
-
- Similarly, some [source Sass](#sass) variables for offcanvas's styles and dimensions are inherited from the modal's variables.
14
+
- Similarly, some [source Sass](#sass-variables) variables for offcanvas's styles and dimensions are inherited from the modal's variables.
15
15
- When shown, offcanvas includes a default backdrop that can be clicked to hide the offcanvas.
16
16
- Similar to modals, only one offcanvas can be shown at a time.
Copy file name to clipboardexpand all lines: site/content/docs/5.2/components/popovers.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -238,7 +238,7 @@ const popover = new bootstrap.Popover(element, {
238
238
|`dispose`| Hides and destroys an element's popover (Removes stored data on the DOM element). Popovers that use delegation (which are created using [the `selector` option](#options)) cannot be individually destroyed on descendant trigger elements. |
239
239
|`enable`| Gives an element's popover the ability to be shown. **Popovers are enabled by default.**|
240
240
|`getInstance`|_Static_ method which allows you to get the popover instance associated with a DOM element. |
241
-
|`getOrCreateInstance`|*Static* method which allows you to get the popover instance associated with a DOM element, or create a new one in case it wasn't initialized. |
241
+
|`getOrCreateInstance`|_Static_ method which allows you to get the popover instance associated with a DOM element, or create a new one in case it wasn't initialized. |
242
242
|`hide`| Hides an element's popover. **Returns to the caller before the popover has actually been hidden** (i.e. before the `hidden.bs.popover` event occurs). This is considered a "manual" triggering of the popover. |
243
243
|`setContent`| Gives a way to change the popover's content after its initialization. |
244
244
|`show`| Reveals an element's popover. **Returns to the caller before the popover has actually been shown** (i.e. before the `shown.bs.popover` event occurs). This is considered a "manual" triggering of the popover. Popovers whose title and content are both zero-length are never displayed. |
Copy file name to clipboardexpand all lines: site/content/docs/5.2/extend/approach.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,7 @@ This principle is our first-class JavaScript API using `data` attributes. You do
65
65
66
66
Lastly, our styles build on the fundamental behaviors of common web elements. Whenever possible, we prefer to use what the browser provides. For example, you can put a `.btn` class on nearly any element, but most elements don't provide any semantic value or browser functionality. So instead, we use `<button>`s and `<a>`s.
67
67
68
-
The same goes for more complex components. While we *could* write our own form validation plugin to add classes to a parent element based on an input's state, thereby allowing us to style the text say red, we prefer using the `:valid`/`:invalid` pseudo-elements every browser provides us.
68
+
The same goes for more complex components. While we _could_ write our own form validation plugin to add classes to a parent element based on an input's state, thereby allowing us to style the text say red, we prefer using the `:valid`/`:invalid` pseudo-elements every browser provides us.
Copy file name to clipboardexpand all lines: site/content/docs/5.2/getting-started/vite.md
+1
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,7 @@ We're building a Vite project with Bootstrap from scratch, so there are some pre
35
35
```sh
36
36
npm i --save bootstrap @popperjs/core
37
37
```
38
+
38
39
4.**Install additional dependency.** In addition to Vite and Bootstrap, we need another dependency (Sass) to properly import and bundle Bootstrap's CSS.
Copy file name to clipboardexpand all lines: site/content/docs/5.2/utilities/flex.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -462,7 +462,7 @@ Additionally there are also responsive `.order-first` and `.order-last` classes
462
462
463
463
## Align content
464
464
465
-
Use `align-content` utilities on flexbox containers to align flex items *together* on the cross axis. Choose from `start` (browser default), `end`, `center`, `between`, `around`, or `stretch`. To demonstrate these utilities, we've enforced `flex-wrap: wrap` and increased the number of flex items.
465
+
Use `align-content` utilities on flexbox containers to align flex items _together_ on the cross axis. Choose from `start` (browser default), `end`, `center`, `between`, `around`, or `stretch`. To demonstrate these utilities, we've enforced `flex-wrap: wrap` and increased the number of flex items.
466
466
467
467
**Heads up!** This property has no effect on single rows of flex items.
0 commit comments