Apply responsive size for cards and images

This commit is contained in:
Sakura Knoll
2022-01-09 20:29:37 +09:00 Unverified
parent 793f2b0e6a
commit 584af953ca
6 changed files with 16 additions and 16 deletions
@@ -64,14 +64,14 @@ const BattlesuitShowPage = ({ battlesuit }: BattlesuitShowPageProps) => {
position: 'relative',
overflow: 'hidden',
width: '100%',
maxWidth: '600px',
maxWidth: [300, 400],
}}
>
<Image
alt={battlesuitName}
src={`/assets/honkai3rd/battlesuits/${battlesuit.id}.png`}
width={600}
height={600}
width={400}
height={400}
layout='responsive'
/>
</Box>