fix: history nav text line clamp, font smaller
This commit is contained in:
parent
f0f878a122
commit
91bb998aa3
|
|
@ -87,12 +87,14 @@ export default function TranslationsPage() {
|
||||||
<li key={t.id}>
|
<li key={t.id}>
|
||||||
<NavLink
|
<NavLink
|
||||||
className={({ isActive }) =>
|
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}
|
to={t.id}
|
||||||
onClick={() => setExpanded(false)}
|
onClick={() => setExpanded(false)}
|
||||||
>
|
>
|
||||||
|
<p className="line-clamp-3">
|
||||||
[{t.lang}] {t.text}
|
[{t.lang}] {t.text}
|
||||||
|
</p>
|
||||||
</NavLink>
|
</NavLink>
|
||||||
</li>
|
</li>
|
||||||
))
|
))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue