mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-08-26 14:19:24 +00:00
Removed dots
This commit is contained in:
parent
fd3ec1d976
commit
0d7e8f8deb
@ -32,26 +32,9 @@ const NavigationControls = ({
|
||||
>
|
||||
<ChevronLeftIcon style={{ fontSize: '1rem' }} />
|
||||
</ActionIcon>
|
||||
|
||||
<Group gap="xs">
|
||||
{Array.from({ length: totalFiles }, (_, index) => (
|
||||
<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>
|
||||
<Text size="xs" c="dimmed">
|
||||
{currentIndex + 1} of {totalFiles}
|
||||
</Text>
|
||||
|
||||
<ActionIcon
|
||||
variant="light"
|
||||
@ -64,9 +47,7 @@ const NavigationControls = ({
|
||||
</ActionIcon>
|
||||
</Group>
|
||||
|
||||
<Text size="xs" c="dimmed">
|
||||
{currentIndex + 1} of {totalFiles}
|
||||
</Text>
|
||||
|
||||
</Stack>
|
||||
);
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user