Tambahan Fix UI PPID

This commit is contained in:
2025-06-10 11:01:13 +08:00
parent 6d312b7a28
commit e4b7418ed3
4 changed files with 37 additions and 36 deletions

View File

@@ -38,6 +38,7 @@ function EditDasarHukum() {
dasarHukumState.findById.data.content = content;
dasarHukumState.update.save(dasarHukumState.findById.data)
}
router.push('/admin/ppid/dasar-hukum')
}
return (
<Box>

View File

@@ -34,15 +34,13 @@ function Page() {
</Button>
</GridCol>
</Grid>
<Box px={{ base: "md", md: 100 }}>
<Box>
<Stack gap={'lg'}>
<Paper p={"xl"} bg={colors['BG-trans']}>
<Box px={{ base: 20, md: 50 }} pb={30}>
<Text ta={"center"} fz={{ base: "h3", md: "h2" }} fw={"bold"}>
{listDasarHukum.findById.data.judul}
</Text>
<Box px={{ base: 0, md: 30 }}>
<Text ta={"center"} fz={{ base: "h3", md: "h2" }} fw={"bold"} dangerouslySetInnerHTML={{ __html: listDasarHukum.findById.data.judul }} />
</Box>
<Box px={{ base: 20, md: 50 }}>
<Box px={{ base: 0, md: 30 }}>
<Text fz={{ base: "md", md: "h3" }} ta={"justify"} dangerouslySetInnerHTML={{ __html: listDasarHukum.findById.data.content }} />
</Box>
</Paper>