Skip to content

Commit 0bb4a86

Browse files
Merge pull request #259 from haskellfoundation/news-style-fix
Equalize heights of tiles on front page
2 parents 5d32eb7 + 4d5bb75 commit 0bb4a86

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

templates/careers/tile.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div class="bg-white border border-gray-300 rounded py-8 px-6 sm:px-12 text-center">
2-
<div class="bg-gray-100 px-6 sm:px-12 lg:px-16 py-6 lg:py-24">
2+
<div class="bg-gray-100 px-6 sm:px-12 lg:px-16 py-6 lg:py-24 h-full">
33
<div class="space-y-4">
44
<h2 class="font-normal text-xl"><a class="arrow-link" href="$url$">$title$</a></h2>
55
<p>$summary$</p>

templates/events/tile.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div class="bg-white border border-gray-300 rounded py-8 px-6 sm:px-12 text-center">
2-
<div class="bg-gray-100 px-6 sm:px-12 lg:px-16 py-6 lg:py-24">
2+
<div class="bg-gray-100 px-6 sm:px-12 lg:px-16 py-6 lg:py-24 h-full">
33
<div class="space-y-4">
44
<h2 class="text-center text-2xl-4xl font-normal">$title$</h2>
55
<p>$summary$</p>

templates/homepage.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ <h3 class="mb-4 text-xl text-gray-500">Amplify Haskell’s impact on humanity.</
3131

3232
$for(episodes)$
3333
<div class="bg-white border border-gray-300 rounded py-8 px-6 sm:px-12 text-center">
34-
<div class="bg-gray-100 px-6 sm:px-12 lg:px-16 py-6 lg:py-24">
34+
<div class="bg-gray-100 px-6 sm:px-12 lg:px-16 py-6 lg:py-24 h-full">
3535
<h2 class="text-center text-2xl-4xl font-normal">
3636
<b>$episode$</b> – $title$
3737
</h2>

templates/news/frontpage.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div class="bg-white border border-gray-300 rounded py-8 px-6 sm:px-12 text-center">
2-
<div class="bg-gray-100 px-6 sm:px-12 lg:px-16 py-6 lg:py-24">
2+
<div class="bg-gray-100 px-6 sm:px-12 lg:px-16 py-6 lg:py-24 h-full">
33
<div class="space-y-4">
44
<h2 class="text-center text-2xl-4xl font-normal">$title$</h2>
55
<p>$body$</p>

0 commit comments

Comments
 (0)