style : update style

This commit is contained in:
lukman
2024-09-26 15:25:25 +08:00
parent 17e737ed24
commit 654796dab7
7 changed files with 70 additions and 63 deletions

View File

@@ -78,21 +78,22 @@ export default function ProgressDetailTask() {
return (
<Box mt={10}>
{reason !== null ?
(
<Box mb={10}>
<Box p={15} bg={"#FFF2CD"} style={{
borderRadius: 10,
}}>
<Group align='center'>
<IoIosWarning size={25} />
<Text fw={"bold"}>Tugas dibatalkan</Text>
</Group>
<Text mt={5} truncate="end">{reason}</Text>
{loading ? "" :
reason !== null ?
(
<Box mb={10}>
<Box p={15} bg={"#FFF2CD"} style={{
borderRadius: 10,
}}>
<Group align='center'>
<IoIosWarning size={25} />
<Text fw={"bold"}>Tugas dibatalkan</Text>
</Group>
<Text mt={5} truncate="end">{reason}</Text>
</Box>
</Box>
</Box>
)
: null
)
: null
}
{loading ?
<Skeleton width={"100%"} height={100} radius={"md"} />