Skip to content

Commit

Permalink
Docs(web): Add Text demo #DS-911
Browse files Browse the repository at this point in the history
- Text demo in web is now same as demo-react in web and web-twig
  • Loading branch information
pavelklibani committed Sep 21, 2023
1 parent 160142d commit 01211cb
Showing 1 changed file with 16 additions and 12 deletions.
28 changes: 16 additions & 12 deletions packages/web/src/scss/helpers/text/index.html
Original file line number Diff line number Diff line change
@@ -1,20 +1,24 @@
{{#> layout/plain }}

<section class="docs-Section">

<h2 class="docs-Heading">Truncate</h2>

<div class="docs-Stack docs-Stack--start">

<h2 class="docs-Heading">Text</h2>
<div style="width: 400px">
<p class="text-truncate">
This is a truncated single-line text.
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
</p>
<p class="text-truncate-multiline">
This is a truncated multi-line text.
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aliquam at excepturi laudantium magnam mollitia
perferendis reprehenderit, voluptate. Cum delectus dicta ducimus eligendi excepturi natus perferendis
provident unde. Eveniet, iste, molestiae?
</p>
</div>

<div style="width: 400px">
<p class="text-truncate">
This is a truncated single-line text.
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
</p>
<p class="text-truncate-multiline">
This is a truncated multi-line text.
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aliquam at excepturi laudantium magnam mollitia
perferendis reprehenderit, voluptate. Cum delectus dicta ducimus eligendi excepturi natus perferendis
provident unde. Eveniet, iste, molestiae?
</p>
</div>

</section>
Expand Down

0 comments on commit 01211cb

Please sign in to comment.