mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-25 06:21:26 +02:00
Move gap
utility API from "Flex" to "Spacing"
The `gap` utility is described on the [Spacing page][1] but is not actually mentioned on the [Flex page][2] (apart from the [API section][3]). [1]: https://getbootstrap.com/docs/5.1/utilities/spacing/ [2]: https://getbootstrap.com/docs/5.1/utilities/flex/ [3]: https://getbootstrap.com/docs/5.1/utilities/flex/#utilities-api
This commit is contained in:
@@ -236,12 +236,6 @@ $utilities: map-merge(
|
|||||||
class: flex,
|
class: flex,
|
||||||
values: wrap nowrap wrap-reverse
|
values: wrap nowrap wrap-reverse
|
||||||
),
|
),
|
||||||
"gap": (
|
|
||||||
responsive: true,
|
|
||||||
property: gap,
|
|
||||||
class: gap,
|
|
||||||
values: $spacers
|
|
||||||
),
|
|
||||||
"justify-content": (
|
"justify-content": (
|
||||||
responsive: true,
|
responsive: true,
|
||||||
property: justify-content,
|
property: justify-content,
|
||||||
@@ -434,6 +428,13 @@ $utilities: map-merge(
|
|||||||
class: ps,
|
class: ps,
|
||||||
values: $spacers
|
values: $spacers
|
||||||
),
|
),
|
||||||
|
// Gap utility
|
||||||
|
"gap": (
|
||||||
|
responsive: true,
|
||||||
|
property: gap,
|
||||||
|
class: gap,
|
||||||
|
values: $spacers
|
||||||
|
),
|
||||||
// scss-docs-end utils-spacing
|
// scss-docs-end utils-spacing
|
||||||
// Text
|
// Text
|
||||||
// scss-docs-start utils-text
|
// scss-docs-start utils-text
|
||||||
|
Reference in New Issue
Block a user