1
0
mirror of https://github.com/Damillora/Yuika synced 2024-12-25 05:33:45 +00:00

Add overflow for post cards

This commit is contained in:
Damillora 2019-11-14 14:30:53 +07:00
parent 1e6db93dce
commit c4944d6847
2 changed files with 6 additions and 1 deletions

View File

@ -15,7 +15,7 @@
<div class="mt-0 text-xl text-white group-hover:text-gray-300">
<a href="{{url}}"><h1 class="font-light">{{title}}</h1></a>
</div>
<div class="block mt-2 mb-4 text-sm text-white">
<div class="block mt-2 mb-4 text-sm text-white max-h-24 overflow-hidden">
<p>{{excerpt words="30"}}</p>
</div>
<div class="flex flex-row items-center my-2">

View File

@ -23,6 +23,11 @@ module.exports = {
'800': '#173B6C',
'900': '#0E254C',
}
},
maxHeight: {
'16': '4rem',
'24': '6rem',
'32': '8rem',
}
},
fontFamily: {