style : update style
This commit is contained in:
@@ -71,13 +71,13 @@ export default function ListDocumentOnDetailDivision() {
|
||||
<Carousel.Slide key={v.id}>
|
||||
<UnstyledButton onClick={() => router.push(`/division/${param.id}/document`)}>
|
||||
<Stack gap={0} w={isMobile ? 100 : 170}>
|
||||
<Paper withBorder shadow="sm" radius={12} >
|
||||
<Box bg={"white"} style={{ borderRadius: 10, border: `1px solid ${"#D6D8F6"}` }} >
|
||||
<Center p={"md"}>
|
||||
<Image w={isMobile ? 50 : 75} src={(v.extension == "pdf") ? iconContainer(ICON.PDF) : iconContainer(ICON.IMAGE)} alt="image" />
|
||||
</Center>
|
||||
</Paper>
|
||||
</Box>
|
||||
<Box>
|
||||
<Text c={"dimmed"}ta={"center"} lineClamp={1} fz={isMobile? 14 : 16}>{v.name + '.' + v.extension}</Text>
|
||||
<Text c={"dimmed"} ta={"center"} lineClamp={1} fz={isMobile ? 14 : 16}>{v.name + '.' + v.extension}</Text>
|
||||
</Box>
|
||||
</Stack>
|
||||
</UnstyledButton>
|
||||
|
||||
@@ -72,10 +72,10 @@ export default function ListTaskOnDetailDivision() {
|
||||
<Box p={20} w={{
|
||||
base: isMobile ? 230 : 300,
|
||||
md: 400
|
||||
}} onClick={() => router.push(`/task/${v.id}`)} bg={tema.get().utama} style={{ borderRadius: 10, border: `1px solid ${"#D6D8F6"}` }}>
|
||||
<Text fw={'bold'} c={tema.get().bgUtama} lineClamp={1}>{_.startCase(v.title)}</Text>
|
||||
}} onClick={() => router.push(`/task/${v.id}`)} bg={"white"} style={{ borderRadius: 10, border: `1px solid ${"#D6D8F6"}` }}>
|
||||
<Text fw={'bold'} c={tema.get().utama} lineClamp={1}>{_.startCase(v.title)}</Text>
|
||||
<Group justify="space-between" mt={20}>
|
||||
<Group gap={5} align="center" c={"#CFCDCD"}>
|
||||
<Group gap={5} align="center">
|
||||
<CiClock2 size={18} />
|
||||
<Text fz={13}>{v.dateStart}</Text>
|
||||
</Group >
|
||||
|
||||
Reference in New Issue
Block a user