upd: fix tulisan panjang

Deskripsi:
- menggunakan truncate pda beberapa text

No Issues
This commit is contained in:
amel
2024-07-17 13:41:37 +08:00
parent ae2b4d6395
commit d54a6cfb09
5 changed files with 5 additions and 5 deletions

View File

@@ -50,7 +50,7 @@ export default function ListDiscussion() {
<Group>
<GoDiscussionClosed size={25} />
<Box w={{ base: 230, md: 400 }}>
<Text fw={'bold'}>{v.judul}</Text>
<Text fw={'bold'} truncate="end">{v.judul}</Text>
</Box>
</Group>
<Group justify="space-between" mt={20} c={'#8C8C8C'}>

View File

@@ -53,7 +53,7 @@ export default function ListEventHome() {
<Divider h={92} size="lg" orientation="vertical" color={colorDivider} />
<Box>
<Text>{event.jamAwal} - {event.jamAkhir}</Text>
<Text fw={"bold"}>{event.title}</Text>
<Text fw={"bold"} truncate="end">{event.title}</Text>
<Text>Dibuat oleh : {event.dibuat}</Text>
</Box>
</Group>