File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -136,25 +136,25 @@ export default function Characters(props: Props & { location: string }) {
136136 if ( char . stars == 4 ) color = "bg-purple-800"
137137
138138 return < FormattedLink key = { char . name } font = "semibold" size = "xl" location = { props . location } href = { `/characters/${ urlify ( char . name , false ) } ` } >
139- < div className = "bg-slate-300 dark:bg-slate-800 w-24 m-1 relative text-sm font-bold rounded-xl transition-all duration-100 hover:outline outline-slate-800 dark:outline-slate-300" >
140- < div className = { `${ color } rounded-t-xl w -24 h-24 ` } >
141- < Icon char = { char } className = "rounded-t-xl w-24 m-0 p-0" />
139+ < div className = "bg-slate-300 dark:bg-slate-800 w-24 sm:w-28 lg:w-32 m-1 relative text-sm font-bold rounded-xl transition-all duration-100 hover:outline outline-slate-800 dark:outline-slate-300" >
140+ < div className = { `${ color } rounded-t-xl h -24 sm:h-28 lg:h-32 ` } >
141+ < Icon char = { char } className = "rounded-t-xl m-0 p-0" />
142142 < span className = "absolute block p-0.5 top-0 w-full" >
143143 < div className = "flex flex-col" >
144- { char . element && char . element . map ( e => < div key = { e } className = "w-6 h-6 " >
144+ { char . element && char . element . map ( e => < div key = { e } className = "w-6 md:w-8 " >
145145 < Image src = { elements [ e ] } alt = { `${ e } Element` } />
146146 </ div > ) }
147147 </ div >
148148 </ span >
149149 < span className = "absolute block p-0.5 top-0 w-full" >
150150 < div className = "flex flex-col float-right" >
151- { char . weapon && < div className = "w-6 h-6 " >
151+ { char . weapon && < div className = "w-6 md:w-8 " >
152152 < Image src = { weapons [ char . weapon ] } alt = { `${ char . weapon } ` } />
153153 </ div > }
154154 </ div >
155155 </ span >
156156 </ div >
157- < span className = "flex justify-center items-center h-10 m-0 p-0 duration-200" >
157+ < span className = "flex justify-center items-center h-10 md:h-12 m-0 p-0 duration-200 md:text-base " >
158158 { char . name }
159159 </ span >
160160 </ div >
You can’t perform that action at this time.
0 commit comments