Add image to character modal
This commit is contained in:
parent
559f18764b
commit
4f5c790d7d
2 changed files with 11 additions and 1 deletions
|
|
@ -254,6 +254,11 @@ const CharacterModal = ({
|
|||
onEscapeKeyDown={() => {}}
|
||||
>
|
||||
<div className="DialogHeader">
|
||||
<img
|
||||
alt={gridCharacter.object.name[locale]}
|
||||
className="DialogImage"
|
||||
src={`${process.env.NEXT_PUBLIC_SIERO_IMG_URL}/chara-square/${gridCharacter.object.granblue_id}_01.jpg`}
|
||||
/>
|
||||
<div className="DialogTop">
|
||||
<DialogTitle className="SubTitle">
|
||||
{t('modals.characters.title')}
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@
|
|||
.DialogHeader {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: $unit;
|
||||
gap: $unit-2x;
|
||||
justify-content: space-between;
|
||||
|
||||
.left {
|
||||
|
|
@ -54,6 +54,11 @@
|
|||
line-height: 1.25;
|
||||
}
|
||||
}
|
||||
|
||||
.DialogImage {
|
||||
border-radius: $input-corner;
|
||||
width: $unit-10x;
|
||||
}
|
||||
}
|
||||
|
||||
.DialogClose {
|
||||
|
|
|
|||
Loading…
Reference in a new issue