Fix All Text Input User & Admin, fix deskripsi detail break word
This commit is contained in:
@@ -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']} />
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -88,6 +88,7 @@ function Page() {
|
||||
mt="sm"
|
||||
lh={1.7}
|
||||
dangerouslySetInnerHTML={{ __html: data?.description || '-' }}
|
||||
style={{ wordBreak: "break-word", whiteSpace: "normal" }}
|
||||
/>
|
||||
</Stack>
|
||||
</Paper>
|
||||
|
||||
Reference in New Issue
Block a user