Skip to content

Commit

Permalink
🩹 changing healine size on mobile in order to accommodate longer head…
Browse files Browse the repository at this point in the history
…lines
  • Loading branch information
chrede88 committed Dec 10, 2023
1 parent 78debea commit d06e339
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions assets/css/compiled/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -1870,6 +1870,11 @@ video {
.md\:p-0 {
padding: 0px;
}

.md\:text-2xl {
font-size: 1.5rem;
line-height: 2rem;
}
}

@media (min-width: 1024px) {
Expand Down
2 changes: 1 addition & 1 deletion exampleSite/content/blog/post2/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Blog Post With Extra Long Title
title: Blog Post With Extra Extra Long Title
summary: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
date: 2023-11-23
cardimage: photo2_card.jpeg
Expand Down
2 changes: 1 addition & 1 deletion layouts/_default/section.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ <h1 class="text-4xl font-extrabold text-slate-700 dark:text-slate-200">
{{ end }}
<div class="flex flex-col justify-between p-6">
<div>
<h4 class="mb-2 text-2xl font-semibold text-slate-700 antialiased dark:text-slate-200">
<h4 class="mb-2 text-base md:text-2xl font-semibold text-slate-700 antialiased dark:text-slate-200">
{{ .Title }}
</h4>
<p class="mb-4 text-base line-clamp-6 text-slate-500 dark:text-slate-400">
Expand Down

0 comments on commit d06e339

Please sign in to comment.