diff options
author | Mario <mario@mariovavti.com> | 2021-10-08 12:24:19 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-10-08 12:24:19 +0000 |
commit | e6dac085cb1d601da1fc63bfd59d811612fa6ef4 (patch) | |
tree | f5b704b613c9c8d347857b4e7f8dd0b19cdd7df3 /vendor/twbs/bootstrap/site/content/docs/5.1/helpers/text-truncation.md | |
parent | f5f357060bf0ebcb0b8352519375953d993437e7 (diff) | |
download | volse-hubzilla-e6dac085cb1d601da1fc63bfd59d811612fa6ef4.tar.gz volse-hubzilla-e6dac085cb1d601da1fc63bfd59d811612fa6ef4.tar.bz2 volse-hubzilla-e6dac085cb1d601da1fc63bfd59d811612fa6ef4.zip |
update composer libs
Diffstat (limited to 'vendor/twbs/bootstrap/site/content/docs/5.1/helpers/text-truncation.md')
-rw-r--r-- | vendor/twbs/bootstrap/site/content/docs/5.1/helpers/text-truncation.md | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/vendor/twbs/bootstrap/site/content/docs/5.1/helpers/text-truncation.md b/vendor/twbs/bootstrap/site/content/docs/5.1/helpers/text-truncation.md new file mode 100644 index 000000000..799f2059b --- /dev/null +++ b/vendor/twbs/bootstrap/site/content/docs/5.1/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 >}} |