mirror of
https://github.com/Radiquum/AniX.git
synced 2025-04-07 00:34:41 +00:00
fix(frontend): fix text overflow on releases cards
This commit is contained in:
parent
8e945429c2
commit
0d824c17db
1 changed files with 2 additions and 2 deletions
|
@ -23,9 +23,9 @@ export const ReleaseCard = (props) => {
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div className="padding">
|
<div className="padding">
|
||||||
<h6>{`${props.title.substring(0, 30)}${
|
<h5 className="small">{`${props.title.substring(0, 30)}${
|
||||||
[...props.title].length > 30 ? "..." : ""
|
[...props.title].length > 30 ? "..." : ""
|
||||||
}`}</h6>
|
}`}</h5>
|
||||||
<p>{`${props.description.substring(0, 150)}${
|
<p>{`${props.description.substring(0, 150)}${
|
||||||
[...props.description].length > 150 ? "..." : ""
|
[...props.description].length > 150 ? "..." : ""
|
||||||
}`}</p>
|
}`}</p>
|
||||||
|
|
Loading…
Add table
Reference in a new issue