Skip to content

Commit

Permalink
fix(VPagination): set circle border radius when using rounded prop
Browse files Browse the repository at this point in the history
  • Loading branch information
johnleider committed Nov 20, 2023
1 parent 8da21bf commit 5b0055b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/vuetify/src/components/VBtn/VBtn.sass
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,10 @@
.v-pagination &
@include tools.rounded($button-pagination-border-radius)

&--rounded
.v-pagination &
@include tools.rounded($button-pagination-rounded-border-radius)

&__overlay
transition: none

Expand Down
1 change: 1 addition & 0 deletions packages/vuetify/src/components/VBtn/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ $button-color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity)) !
$button-banner-actions-padding: 0 8px !default; // @deprecated
$button-pagination-active-overlay-opacity: var(--v-border-opacity) !default;
$button-pagination-border-radius: settings.$border-radius-root !default;
$button-pagination-rounded-border-radius: map.get(settings.$rounded, 'circle') !default;
$button-border-color: settings.$border-color-root !default;
$button-border-radius: settings.$border-radius-root !default;
$button-border-style: settings.$border-style-root !default;
Expand Down

0 comments on commit 5b0055b

Please sign in to comment.