Skip to content

Commit caa234f

Browse files
committed
improve responsiveness of table and improve appearance of status progres tickmarks
1 parent a52e5d8 commit caa234f

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

frontend/src/components/ui/directory-progress-slider.tsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ export const DirectoryProgressSlider: React.FC<DirectoryProgressSliderProps> = (
1111

1212
return (
1313
<Flex align="center" gap={3} w="full">
14-
<Box position="relative" flex="1" h="24px" display={{ base: 'none', md: 'block' }}>
14+
<Box position="relative" flex="1" h="24px" display={{ base: 'none', lg: 'block' }}>
1515
{/* Track */}
1616
<Box
1717
position="absolute"
1818
top="50%"
1919
left="0"
2020
right="0"
2121
h="2px"
22-
bg="gray.300"
22+
bg="#EAEAE6"
2323
transform="translateY(-50%)"
2424
zIndex={0}
2525
/>
@@ -30,7 +30,7 @@ export const DirectoryProgressSlider: React.FC<DirectoryProgressSliderProps> = (
3030
top="50%"
3131
left="0"
3232
h="2px"
33-
bg="teal.500"
33+
bg="#027847"
3434
transform="translateY(-50%)"
3535
width={`${value}%`}
3636
zIndex={0}
@@ -55,14 +55,14 @@ export const DirectoryProgressSlider: React.FC<DirectoryProgressSliderProps> = (
5555
key={milestone}
5656
align="center"
5757
justify="center"
58-
w="16px"
59-
h="16px"
58+
w="20px"
59+
h="20px"
6060
borderRadius="full"
61-
bg={isCompleted ? 'teal.500' : 'gray.300'}
62-
border="3px solid white"
61+
bg={isCompleted ? '#E7F8EE' : '#EAEAE6'}
62+
border={isCompleted ? '2px solid #027847' : 'none'}
6363
boxShadow="sm"
6464
>
65-
{isCompleted && <FiCheck size={14} color="white" strokeWidth={3} />}
65+
{isCompleted && <FiCheck size={14} color="#027847" strokeWidth={4} />}
6666
</Flex>
6767
);
6868
})}

frontend/src/pages/admin/directory.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,8 +238,8 @@ export default function Directory() {
238238
p={8}
239239
bg="white"
240240
minH="100vh"
241-
marginLeft={{ base: 4, md: 8, lg: 157 }}
242-
marginRight={{ base: 4, md: 8, lg: 130 }}
241+
marginLeft={{ base: 4, lg: 8, xl: 157 }}
242+
marginRight={{ base: 4, lg: 8, xl: 130 }}
243243
>
244244
<Heading
245245
as="h1"

0 commit comments

Comments
 (0)