mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-08-26 22:29:24 +00:00
Removed dots
This commit is contained in:
parent
fd3ec1d976
commit
0d7e8f8deb
@ -32,26 +32,9 @@ const NavigationControls = ({
|
|||||||
>
|
>
|
||||||
<ChevronLeftIcon style={{ fontSize: '1rem' }} />
|
<ChevronLeftIcon style={{ fontSize: '1rem' }} />
|
||||||
</ActionIcon>
|
</ActionIcon>
|
||||||
|
<Text size="xs" c="dimmed">
|
||||||
<Group gap="xs">
|
{currentIndex + 1} of {totalFiles}
|
||||||
{Array.from({ length: totalFiles }, (_, index) => (
|
</Text>
|
||||||
<Box
|
|
||||||
key={index}
|
|
||||||
style={{
|
|
||||||
width: '0.375rem',
|
|
||||||
height: '0.375rem',
|
|
||||||
borderRadius: '50%',
|
|
||||||
backgroundColor: index === currentIndex
|
|
||||||
? 'var(--mantine-color-blue-6)'
|
|
||||||
: 'var(--mantine-color-gray-4)',
|
|
||||||
cursor: 'pointer',
|
|
||||||
transition: 'background-color 0.2s ease'
|
|
||||||
}}
|
|
||||||
onClick={() => onIndexChange(index)}
|
|
||||||
data-testid={`review-panel-dot-${index}`}
|
|
||||||
/>
|
|
||||||
))}
|
|
||||||
</Group>
|
|
||||||
|
|
||||||
<ActionIcon
|
<ActionIcon
|
||||||
variant="light"
|
variant="light"
|
||||||
@ -64,9 +47,7 @@ const NavigationControls = ({
|
|||||||
</ActionIcon>
|
</ActionIcon>
|
||||||
</Group>
|
</Group>
|
||||||
|
|
||||||
<Text size="xs" c="dimmed">
|
|
||||||
{currentIndex + 1} of {totalFiles}
|
|
||||||
</Text>
|
|
||||||
</Stack>
|
</Stack>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user