diff options
author | Mario <mario@mariovavti.com> | 2022-08-19 13:15:48 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-08-19 13:15:48 +0000 |
commit | 185ddf1eaf82e08586be6c7689507ee924d9dd47 (patch) | |
tree | 218ff6da6fb1511a1b2823729607c7c4b13e30e9 /vendor/twbs/bootstrap/site/content/docs/5.2/helpers/text-truncation.md | |
parent | 7dee47183d05b6e1f7d5c5588e2df9993fb294dd (diff) | |
download | volse-hubzilla-185ddf1eaf82e08586be6c7689507ee924d9dd47.tar.gz volse-hubzilla-185ddf1eaf82e08586be6c7689507ee924d9dd47.tar.bz2 volse-hubzilla-185ddf1eaf82e08586be6c7689507ee924d9dd47.zip |
update to bootstrap 5.2 and fixes
Diffstat (limited to 'vendor/twbs/bootstrap/site/content/docs/5.2/helpers/text-truncation.md')
-rw-r--r-- | vendor/twbs/bootstrap/site/content/docs/5.2/helpers/text-truncation.md | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/vendor/twbs/bootstrap/site/content/docs/5.2/helpers/text-truncation.md b/vendor/twbs/bootstrap/site/content/docs/5.2/helpers/text-truncation.md new file mode 100644 index 000000000..799f2059b --- /dev/null +++ b/vendor/twbs/bootstrap/site/content/docs/5.2/helpers/text-truncation.md @@ -0,0 +1,23 @@ +--- +layout: docs +title: Text truncation +description: Truncate long strings of text with an ellipsis. +group: helpers +toc: false +--- + +For longer content, you can add a `.text-truncate` class to truncate the text with an ellipsis. **Requires `display: inline-block` or `display: block`.** + +{{< example >}} +<!-- Block level --> +<div class="row"> + <div class="col-2 text-truncate"> + This text is quite long, and will be truncated once displayed. + </div> +</div> + +<!-- Inline level --> +<span class="d-inline-block text-truncate" style="max-width: 150px;"> + This text is quite long, and will be truncated once displayed. +</span> +{{< /example >}} |