File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ function Pagination({
61
61
} ;
62
62
63
63
return (
64
- < Flex as = "nav" aria-label = { ariaLabel || t ( "pagination navigation" ) } alignItems = "center" { ...restProps } >
64
+ < Flex as = "nav" gap = "x2" aria-label = { ariaLabel || t ( "pagination navigation" ) } alignItems = "center" { ...restProps } >
65
65
< PreviousButton
66
66
disabled = { currentPage === 1 }
67
67
onClick = { ( ) => {
@@ -81,7 +81,7 @@ function Pagination({
81
81
82
82
if ( page === SEPARATOR )
83
83
return (
84
- < Text key = { `sep${ index } ` } py = "x1" mr = "x2" fontSize = "small" lineHeight = "smallTextBase" >
84
+ < Text key = { `sep${ index } ` } py = "x1" fontSize = "small" lineHeight = "smallTextBase" >
85
85
{ SEPARATOR }
86
86
</ Text >
87
87
) ;
Original file line number Diff line number Diff line change @@ -26,9 +26,6 @@ const PaginationButton = styled.button<{
26
26
border : `1px solid ${ currentPage ? theme . colors . darkBlue : theme . colors . lightGrey } ` ,
27
27
color : disabled ? theme . colors . grey : theme . colors . black ,
28
28
minWidth : iconOnly ? theme . space . x4 : "auto" ,
29
- "&:not(:last-child)" : {
30
- marginRight : theme . space . x2 ,
31
- } ,
32
29
cursor : disabled ? "default" : "pointer" ,
33
30
"&:hover" : {
34
31
background : getHoverBackground ( currentPage , disabled , theme ) ,
You can’t perform that action at this time.
0 commit comments