Skip to content

Commit

Permalink
Update timelineItem.html
Browse files Browse the repository at this point in the history
* Add `break-words` to prevent content overflow
  • Loading branch information
xwjdsh committed Dec 21, 2023
1 parent b6744ef commit 9aa130c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/shortcodes/timelineItem.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<div class="bg-primary-500 dark:bg-primary-300 text-neutral-50 dark:text-neutral-700 min-w-[30px] h-8 text-2xl flex items-center justify-center rounded-full -ml-12 mt-5">
{{ partial "icon" $icon }}
</div>
<div class="block p-6 rounded-lg shadow-2xl min-w-full ml-6 mb-10 backdrop-blur">
<div class="block p-6 rounded-lg shadow-2xl min-w-full ml-6 mb-10 backdrop-blur break-words">
<div class="flex justify-between">
{{ if $header }}
<h2 class="mt-0">
Expand All @@ -29,4 +29,4 @@ <h4 class="mt-0">
<p class="text-gray-700 mb-6">{{- .Inner -}}</p>
</div>
</div>
</li>
</li>

0 comments on commit 9aa130c

Please sign in to comment.