Skip to content

Commit 49e6830

Browse files
committed
style: update Pagination CSS variables for improved layout and responsiveness
1 parent f830184 commit 49e6830

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/components/pagination.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ import { Pagination as CarouselPagination } from 'vue3-carousel'
3737
| --------------------------- | ------------------------- | ---------------------------------- |
3838
| `--vc-pgn-active-color` | `var(--vc-clr-primary)` | Active pagination button color |
3939
| `--vc-pgn-background-color` | `var(--vc-clr-secondary)` | Pagination button background color |
40-
| `--vc-pgn-border-radius` | `10px` | Pagination button border radius |
40+
| `--vc-pgn-border-radius` | `0` | Pagination button border radius |
4141
| `--vc-pgn-gap` | `6px` | Gap between pagination buttons |
4242
| `--vc-pgn-height` | `4px` | Pagination button height |
4343
| `--vc-png-bottom` | `10px` | Bottom spacing for pagination |
44-
| `--vc-png-left` | `10px` | Left spacing for vertical mode |
44+
| `--vc-png-left` | `auto` | Left spacing for vertical mode |
4545
| `--vc-png-right` | `10px` | Right spacing for vertical mode |
4646
| `--vc-pgn-width` | `16px` | Pagination button width |
4747

src/components/Pagination/Pagination.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
:root {
22
--vc-pgn-active-color: var(--vc-clr-primary);
33
--vc-pgn-background-color: var(--vc-clr-secondary);
4-
--vc-pgn-border-radius: 10px;
4+
--vc-pgn-border-radius: 0;
55
--vc-pgn-gap: 6px;
66
--vc-pgn-height: 4px;
77
--vc-png-bottom: 10px;
8-
--vc-png-left: 10px;
8+
--vc-png-left: auto;
99
--vc-png-right: 10px;
1010
--vc-pgn-width: 16px;
1111
}

0 commit comments

Comments
 (0)