Fix All Text Input User & Admin, fix deskripsi detail break word

This commit is contained in:
2025-09-29 14:06:04 +08:00
parent 2a26db6e17
commit dbd56a1493
319 changed files with 965 additions and 817 deletions

View File

@@ -85,6 +85,7 @@ function Page() {
fz="md"
lh={1.6}
dangerouslySetInnerHTML={{ __html: state.findUnique.data?.deskripsi || '' }}
style={{wordBreak: "break-word", whiteSpace: "normal"}}
/>
<Box py={20}>
<Divider color={colors['blue-button']} />

View File

@@ -76,7 +76,7 @@ function Page() {
/>
)}
<Box mt="md">
<Text dangerouslySetInnerHTML={{ __html: state.findUnique.data.deskripsi || '' }} />
<Text style={{ wordBreak: "break-word", whiteSpace: "normal" }} dangerouslySetInnerHTML={{ __html: state.findUnique.data.deskripsi || '' }} />
<Text mt="md" c="dimmed" size="sm">
Dibuat pada: {new Date(state.findUnique.data.createdAt).toLocaleDateString('id-ID')}
</Text>

View File

@@ -100,7 +100,9 @@ function Page() {
minHeight: '5.4rem',
display: 'flex',
alignItems: 'center',
justifyContent: 'center'
justifyContent: 'center',
wordBreak: "break-word",
whiteSpace: "normal"
}}
lineClamp={3}
dangerouslySetInnerHTML={{ __html: v.deskripsi }}

View File

@@ -88,6 +88,7 @@ function Page() {
mt="sm"
lh={1.7}
dangerouslySetInnerHTML={{ __html: data?.description || '-' }}
style={{ wordBreak: "break-word", whiteSpace: "normal" }}
/>
</Stack>
</Paper>