Compare commits

...

7 Commits

Author SHA1 Message Date
Vinicius de Santana
87b6335a5e
Merge 239d48c310b57f9cb86b1523ace22408179da9c0 into 8c975a4f0d22ef8828142729febce4696301a81a 2025-06-28 07:01:45 +03:00
Julien Déramond
239d48c310
Update .bundlewatch.config.json 2025-05-07 19:21:37 +02:00
Vinicius de Santana
78411c778d
fix: change maxSize of bootstrap-utilities.min.css to 11kb
avoid error in `npm run bundlewatch` command
2025-05-07 13:45:30 -03:00
Vinicius de Santana
2d83ac7236
fix: change class to text-balance 2025-05-07 13:39:53 -03:00
Vinicius de Santana
223e002656
fix: error in type sentence 2025-05-07 09:56:47 -03:00
Vinicius de Santana
339f06c75d
fix: change example text 2025-05-06 18:29:36 -03:00
Vinicius de Santana
75b452d29a
feat: add class text-balanced
Refs: #41389
2025-05-06 18:24:27 -03:00
3 changed files with 12 additions and 1 deletions

View File

@ -22,7 +22,7 @@
},
{
"path": "./dist/css/bootstrap-utilities.min.css",
"maxSize": "10.75 kB"
"maxSize": "11.0 kB"
},
{
"path": "./dist/css/bootstrap.css",

View File

@ -565,6 +565,11 @@ $utilities: map-merge(
nowrap: nowrap,
)
),
"text-wrap": (
property: text-wrap,
class: text,
values: balance
),
"word-wrap": (
property: word-wrap word-break,
class: text,

View File

@ -92,6 +92,12 @@ Change the line height with `.lh-*` utilities.
<p class="lh-base">This is a long paragraph written to show how the line-height of an element is affected by our utilities. Classes are applied to the element itself or sometimes the parent element. These classes can be customized as needed with our utility API.</p>
<p class="lh-lg">This is a long paragraph written to show how the line-height of an element is affected by our utilities. Classes are applied to the element itself or sometimes the parent element. These classes can be customized as needed with our utility API.</p>`} />
## Balanced Text
Use the `.text-balance` class to balance text.
<Example code={`<p class="text-balance">This is a long paragraph written to show how the text-balance of an element is affected by our utilities. Classes are applied to the element itself or sometimes the parent element. These classes can be customized as needed with our utility API.</p>`} />
## Monospace
Change a selection to our monospace font stack with `.font-monospace`.