Skip to content

Commit

Permalink
fix(pagination): L3-3158 update style so it is shorter on mobile (#395)
Browse files Browse the repository at this point in the history
  • Loading branch information
scottdickerson authored Oct 24, 2024
1 parent dec02ce commit c1eee24
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/components/Pagination/_pagination.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,19 @@
appearance: none;
border: none;
font-variation-settings: 'wght' 600;
line-height: 2.5rem;
line-height: 1.75rem;
margin-bottom: 0;
outline: none;
padding: 0 $spacing-xsm;
text-align: center;
text-align-last: center;
text-decoration: underline;
text-underline-offset: 10px;
text-underline-offset: 6px;

@include isHeaderDesktop {
line-height: 2.5rem;
text-underline-offset: 10px;
}

&:disabled {
border: 1px solid $medium-gray;
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export { default as Page } from './pages/Page';

// utils
export * from './utils/hooks';
export * from './providers/SeldonProvider/utils';

// ⚛️ Components
export { default as Button, type ButtonProps } from './components/Button/Button';
Expand Down

0 comments on commit c1eee24

Please sign in to comment.