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:
parent
1e6db93dce
commit
c4944d6847
@ -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">
|
||||
|
@ -23,6 +23,11 @@ module.exports = {
|
||||
'800': '#173B6C',
|
||||
'900': '#0E254C',
|
||||
}
|
||||
},
|
||||
maxHeight: {
|
||||
'16': '4rem',
|
||||
'24': '6rem',
|
||||
'32': '8rem',
|
||||
}
|
||||
},
|
||||
fontFamily: {
|
||||
|
Loading…
Reference in New Issue
Block a user