Skip to content

Commit

Permalink
fix(Pagination): sync styles between v10 and v11 (#10638)
Browse files Browse the repository at this point in the history
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
tw15egan and kodiakhq[bot] authored Feb 8, 2022
1 parent 675c005 commit e69ff16
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions packages/styles/scss/components/pagination/_pagination.scss
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,21 @@
}

.#{$prefix}--pagination .#{$prefix}--select-input {
@include type-style('body-compact-01');

width: auto;
min-width: auto;
height: 100%;
line-height: rem(40px);
}

// Extra specificity is needed to preserve padding
.#{$prefix}--pagination
.#{$prefix}--select--inline
.#{$prefix}--select-input {
padding: 0 2.25rem 0 $spacing-05;
}

.#{$prefix}--pagination--sm .#{$prefix}--select-input {
line-height: rem(32px);
}
Expand All @@ -95,16 +104,13 @@
line-height: rem(48px);
}

.#{$prefix}--pagination
.#{$prefix}--select--inline
.#{$prefix}--select-input {
padding: 0 2.25rem 0 $spacing-05;
}

.#{$prefix}--pagination .#{$prefix}--select-input:hover {
background: $layer-hover;
}

.#{$prefix}--pagination
.#{$prefix}--select--inline
.#{$prefix}--select-input:focus,
.#{$prefix}--pagination
.#{$prefix}--select--inline
.#{$prefix}--select-input:focus
Expand Down

0 comments on commit e69ff16

Please sign in to comment.