@@ -79,19 +79,19 @@ export default function ListLayoutWithTags({
7979 < >
8080 < div >
8181 < div className = "pb-6 pt-6" >
82- < h1 className = "sm:hidden text-3xl font-extrabold leading-9 tracking-tight text-gray-900 dark:text-gray-100 sm:text-4xl sm:leading-10 md:text-6xl md:leading-14" >
82+ < h1 className = "text-3xl font-extrabold leading-9 tracking-tight text-gray-900 dark:text-gray-100 sm:hidden sm:text-4xl sm:leading-10 md:text-6xl md:leading-14" >
8383 { title }
8484 </ h1 >
8585 </ div >
8686 < div className = "flex sm:space-x-24" >
87- < div className = "hidden max-h-screen h-full sm:flex flex-wrap bg-gray-50 dark:bg-gray-900/70 shadow-md pt-5 dark:shadow-gray-800/40 rounded min-w-[280px] max-w-[280px] overflow-auto " >
88- < div className = "py-4 px-6" >
87+ < div className = "hidden h-full max-h-screen min-w-[280px] max-w-[280px] flex-wrap overflow-auto rounded bg-gray-50 pt-5 shadow-md dark:bg-gray-900/70 dark:shadow-gray-800/40 sm:flex " >
88+ < div className = "px-6 py-4 " >
8989 { pathname . startsWith ( '/blog' ) ? (
90- < h3 className = "text-primary-500 font-bold uppercase" > All Posts</ h3 >
90+ < h3 className = "font-bold uppercase text-primary-500 " > All Posts</ h3 >
9191 ) : (
9292 < Link
9393 href = { `/blog` }
94- className = "font-bold uppercase text-gray-700 dark :text-gray-300 hover :text-primary-500 dark:hover:text-primary-500"
94+ className = "font-bold uppercase text-gray-700 hover :text-primary-500 dark :text-gray-300 dark:hover:text-primary-500"
9595 >
9696 All Posts
9797 </ Link >
@@ -101,13 +101,13 @@ export default function ListLayoutWithTags({
101101 return (
102102 < li key = { t } className = "my-3" >
103103 { pathname . split ( '/tags/' ) [ 1 ] === slug ( t ) ? (
104- < h3 className = "inline py-2 px-3 uppercase text-sm font-bold text-primary-500" >
104+ < h3 className = "inline px-3 py-2 text-sm font-bold uppercase text-primary-500" >
105105 { `${ t } (${ tagCounts [ t ] } )` }
106106 </ h3 >
107107 ) : (
108108 < Link
109109 href = { `/tags/${ slug ( t ) } ` }
110- className = "py-2 px-3 uppercase text-sm font-medium text-gray-500 dark :text-gray-300 hover :text-primary-500 dark:hover:text-primary-500"
110+ className = "px-3 py-2 text-sm font-medium uppercase text-gray-500 hover :text-primary-500 dark :text-gray-300 dark:hover:text-primary-500"
111111 aria-label = { `View posts tagged ${ t } ` }
112112 >
113113 { `${ t } (${ tagCounts [ t ] } )` }
@@ -125,7 +125,7 @@ export default function ListLayoutWithTags({
125125 const { path, date, title, summary, tags } = post
126126 return (
127127 < li key = { path } className = "py-5" >
128- < article className = "space-y-2 flex flex-col xl:space-y-0" >
128+ < article className = "flex flex-col space-y-2 xl:space-y-0" >
129129 < dl >
130130 < dt className = "sr-only" > Published on</ dt >
131131 < dd className = "text-base font-medium leading-6 text-gray-500 dark:text-gray-400" >
0 commit comments