File tree Expand file tree Collapse file tree
app/routes/matching/test/result Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -171,11 +171,26 @@ export default function MatchingResultContent() {
171171 </ div >
172172
173173 < div className = "flex w-full flex-1 min-h-0 items-center justify-center" >
174- < div className = "relative aspect-[7/6] w-[min(56vw,13.125rem)]" >
174+ < div
175+ className = { [
176+ "relative aspect-[7/6] w-[min(56vw,13.125rem)]" ,
177+ "[@media(max-height:700px)]:w-[min(50vw,11.5rem)]" ,
178+ "[@media(max-height:667px)]:w-[min(46vw,10.5rem)]" ,
179+ ] . join ( " " ) }
180+ >
175181 < img
176182 src = { userTypeIconSrc }
177183 alt = { data . userType }
178- className = "absolute left-0 top-[-12%] h-[112%] w-full select-none object-contain"
184+ className = { [
185+ "absolute left-0 w-full select-none object-contain" ,
186+ "top-[-12%] h-[112%]" ,
187+ "[@media(max-height:700px)]:top-0" ,
188+ "[@media(max-height:700px)]:h-full" ,
189+ "[@media(max-height:667px)]:w-full" ,
190+ "[@media(max-height:667px)]:top-0" ,
191+ "[@media(max-height:667px)]:h-full" ,
192+ "[@media(max-height:667px)]:translate-y-[3px]" ,
193+ ] . join ( " " ) }
179194 style = { {
180195 imageRendering : "auto" ,
181196 transform : "translateZ(0)" ,
You can’t perform that action at this time.
0 commit comments