Skip to content

Commit

Permalink
Add inline-block example with drag and drop to the seeds (#590)
Browse files Browse the repository at this point in the history
  • Loading branch information
cibernox authored and leandrocp committed Oct 16, 2024
1 parent 195e079 commit 7983ae4
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions dev.exs
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,30 @@ dev_seeds = fn ->
<div class="p-2 border rounded">Item 6<br />Small text.</div>
</div>
</div>
<!-- 8. Inline-block elements with overflow -->
<div class="mb-8">
<h2 class="text-lg font-semibold mb-4">8. Elements with Inline-Block Layout</h2>
<div class="text-justify">
<div class="inline-block w-1/3 p-2 border rounded mb-2 mx-2">
Item 1<br />Small text.
</div>
<div class="inline-block w-2/5 p-2 border rounded mb-2 mx-2">
Item 2<br />Small text.<br />But taller.
</div>
<div class="inline-block w-1/4 p-2 border rounded mb-2 mx-2">
Item 3<br />Small text.
</div>
<div class="inline-block w-1/3 p-2 border rounded mb-2 mx-2">
Item 4<br />Small text.
</div>
<div class="inline-block w-1/5 p-2 border rounded mb-2 mx-2">
Item 5<br />Small text.
</div>
<div class="inline-block w-9/20 p-2 border rounded mb-2 mx-2">
Item 6<br />Small text.
</div>
</div>
</div>
"""
})

Expand Down

0 comments on commit 7983ae4

Please sign in to comment.