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

@@ -66,7 +66,7 @@ function Page() {
</Container>
<Box px={{ base: "md", md: 100 }}>
<Stack gap={"xs"}>
<Text py={20} fz={{ base: "sm", md: "lg" }} ta={"justify"} dangerouslySetInnerHTML={{ __html: state.findUnique.data?.content || '' }} />
<Text py={20} fz={{ base: "sm", md: "lg" }} ta={"justify"} style={{wordBreak: "break-word", whiteSpace: "normal"}} dangerouslySetInnerHTML={{ __html: state.findUnique.data?.content || '' }} />
</Stack>
</Box>
</Stack>

View File

@@ -128,6 +128,7 @@ export default function VideoContent() {
ta="justify"
fz="sm"
dangerouslySetInnerHTML={{ __html: v.deskripsi }}
style={{wordBreak: "break-word", whiteSpace: "normal"}}
/>
</Spoiler>
</Stack>

View File

@@ -107,6 +107,7 @@ function Page() {
fz={{ base: "md", md: "lg" }}
c="dark.7"
ta="justify"
style={{wordBreak: "break-word", whiteSpace: "normal"}}
/>
{data.image2?.link && (
<Center>

View File

@@ -52,6 +52,7 @@ function PelayananPendudukNonPermanent() {
ta="justify"
c="dimmed"
dangerouslySetInnerHTML={{ __html: data?.deskripsi }}
style={{wordBreak: "break-word", whiteSpace: "normal"}}
/>
) : (
<Text fz="sm" c="gray">Deskripsi belum tersedia.</Text>

View File

@@ -57,7 +57,7 @@ function PelayananPerizinanBerusaha() {
</Text>
</Box>
<Text fz={{ base: 'sm', md: 'md' }} ta="justify" dangerouslySetInnerHTML={{ __html: data?.deskripsi || '' }} />
<Text fz={{ base: 'sm', md: 'md' }} ta="justify" style={{wordBreak: "break-word", whiteSpace: "normal"}} dangerouslySetInnerHTML={{ __html: data?.deskripsi || '' }} />
<Box>
<Text fw={600} mb="sm" fz={{ base: 'sm', md: 'lg' }}>Alur pendaftaran NIB:</Text>

View File

@@ -42,7 +42,7 @@ function Page() {
</Group>
</Group>
<Paper bg={colors["white-1"]} p="md">
<Text fz={"md"} dangerouslySetInnerHTML={{ __html: detail.data?.content }} />
<Text fz={"md"} style={{wordBreak: "break-word", whiteSpace: "normal"}} dangerouslySetInnerHTML={{ __html: detail.data?.content }} />
<Text fz={"md"} c={colors["blue-button"]} fw="bold" >
{new Date(detail.data?.createdAt).toLocaleDateString('id-ID', {
weekday: 'long',

View File

@@ -243,6 +243,7 @@ function Page() {
lineClamp={4}
dangerouslySetInnerHTML={{ __html: item.deskripsi }}
mb="md"
style={{wordBreak: "break-word", whiteSpace: "normal"}}
/>
</div>
<div>

View File

@@ -64,7 +64,7 @@ function LambangDesa() {
lh={1.8}
c="dark"
ta="justify"
style={{ fontWeight: 400 }}
style={{ fontWeight: 400, wordBreak: "break-word", whiteSpace: "normal", }}
dangerouslySetInnerHTML={{ __html: data.deskripsi }}
/>
</Tooltip>

View File

@@ -48,6 +48,7 @@ function MaskotDesa() {
ta="justify"
c="dark"
dangerouslySetInnerHTML={{ __html: data.deskripsi }}
style={{wordBreak: "break-word", whiteSpace: "normal"}}
/>
<Group justify="center" gap="lg" mt="lg">

View File

@@ -104,6 +104,7 @@ function ProfilPerbekel() {
ta="justify"
lh={1.6}
dangerouslySetInnerHTML={{ __html: data.biodata }}
style={{wordBreak: "break-word", whiteSpace: "normal"}}
/>
</Stack>
</Tooltip>
@@ -121,6 +122,7 @@ function ProfilPerbekel() {
ta="justify"
lh={1.6}
dangerouslySetInnerHTML={{ __html: data.pengalaman }}
style={{wordBreak: "break-word", whiteSpace: "normal"}}
/>
</Stack>
</Tooltip>
@@ -148,6 +150,7 @@ function ProfilPerbekel() {
ta="justify"
lh={1.6}
dangerouslySetInnerHTML={{ __html: data.pengalamanOrganisasi }}
style={{wordBreak: "break-word", whiteSpace: "normal"}}
/>
</Box>
@@ -162,6 +165,7 @@ function ProfilPerbekel() {
ta="justify"
lh={1.6}
dangerouslySetInnerHTML={{ __html: data.programUnggulan }}
style={{wordBreak: "break-word", whiteSpace: "normal"}}
/>
</Box>
</Box>

View File

@@ -64,7 +64,7 @@ function SejarahDesa() {
fz={{ base: 'md', md: 'lg' }}
lh={1.8}
ta="justify"
style={{ color: '#2a2a2a' }}
style={{ color: '#2a2a2a', wordBreak: "break-word", whiteSpace: "normal" }}
dangerouslySetInnerHTML={{ __html: data.deskripsi }}
/>
</Stack>

View File

@@ -59,6 +59,7 @@ function VisiMisiDesa() {
fw={500}
lh={1.6}
dangerouslySetInnerHTML={{ __html: data.visi }}
style={{wordBreak: "break-word", whiteSpace: "normal"}}
/>
</Paper>
@@ -86,6 +87,7 @@ function VisiMisiDesa() {
fw={500}
lh={1.6}
dangerouslySetInnerHTML={{ __html: data.misi }}
style={{wordBreak: "break-word", whiteSpace: "normal"}}
/>
</Paper>
</Stack>