fix: history nav text line clamp, font smaller

This commit is contained in:
Nicola Zambello 2023-08-22 14:26:04 +02:00
parent f0f878a122
commit 91bb998aa3
Signed by: nzambello
GPG key ID: 56E4A92C2C1E50BA

View file

@ -87,12 +87,14 @@ export default function TranslationsPage() {
<li key={t.id}>
<NavLink
className={({ isActive }) =>
`block border-b p-4 text-xl ${isActive ? "bg-white" : ""}`
`block border-b p-4 text-sm ${isActive ? "bg-white" : ""}`
}
to={t.id}
onClick={() => setExpanded(false)}
>
<p className="line-clamp-3">
[{t.lang}] {t.text}
</p>
</NavLink>
</li>
))