Skip to content

Commit

Permalink
Docs: correct example formatting in 'Utilities > API' for linting com…
Browse files Browse the repository at this point in the history
…pliance (twbs#40973)
  • Loading branch information
julien-deramond authored and patrickhlauke committed Dec 10, 2024
1 parent 27c568b commit 0512685
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions site/content/docs/5.3/utilities/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,8 @@ You can enable responsive classes for an existing set of utilities that are not
@import "bootstrap/scss/utilities";

$utilities: map-merge(
$utilities, (
$utilities,
(
"border": map-merge(
map-get($utilities, "border"),
( responsive: true ),
Expand Down Expand Up @@ -508,7 +509,8 @@ Missing v4 utilities, or used to another naming convention? The utilities API ca
@import "bootstrap/scss/utilities";

$utilities: map-merge(
$utilities, (
$utilities,
(
"margin-start": map-merge(
map-get($utilities, "margin-start"),
( class: ml ),
Expand Down Expand Up @@ -574,13 +576,11 @@ $utilities: map-merge(
(
// Remove the `width` utility
"width": null,

// Make an existing utility responsive
"border": map-merge(
map-get($utilities, "border"),
( responsive: true ),
),

// Add new utilities
"cursor": (
property: cursor,
Expand Down

0 comments on commit 0512685

Please sign in to comment.