File tree Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ export function PaginationNav({
1010 title : 'Previous' | 'Next' ;
1111} ) {
1212 return (
13- < a href = { `/${ node . path } ` } className = "no-underline group " >
13+ < a href = { `/${ node . path } ` } className = "no-underline" >
1414 < div
1515 className = { `py-3 px-4 border-2 rounded-md transition-colors hover:[border-color:var(--accent)] ${
1616 title === 'Previous' ? 'text-left' : 'text-right'
@@ -22,19 +22,11 @@ export function PaginationNav({
2222 title === 'Previous' ? 'justify-start' : 'justify-end'
2323 } `}
2424 >
25- { title === 'Previous' && (
26- < div className = "transition-transform group-hover:-translate-x-1" >
27- < DoubleArrowLeftIcon />
28- </ div >
29- ) }
25+ { title === 'Previous' && < DoubleArrowLeftIcon /> }
3026
3127 { node . title }
3228
33- { title === 'Next' && (
34- < div className = "transition-transform group-hover:translate-x-1" >
35- < DoubleArrowRightIcon />
36- </ div >
37- ) }
29+ { title === 'Next' && < DoubleArrowRightIcon /> }
3830 </ div >
3931 </ div >
4032 </ a >
You can’t perform that action at this time.
0 commit comments