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={() => {}}
|
onEscapeKeyDown={() => {}}
|
||||||
>
|
>
|
||||||
<div className="DialogHeader">
|
<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">
|
<div className="DialogTop">
|
||||||
<DialogTitle className="SubTitle">
|
<DialogTitle className="SubTitle">
|
||||||
{t('modals.characters.title')}
|
{t('modals.characters.title')}
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@
|
||||||
.DialogHeader {
|
.DialogHeader {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: $unit;
|
gap: $unit-2x;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
|
||||||
.left {
|
.left {
|
||||||
|
|
@ -54,6 +54,11 @@
|
||||||
line-height: 1.25;
|
line-height: 1.25;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.DialogImage {
|
||||||
|
border-radius: $input-corner;
|
||||||
|
width: $unit-10x;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.DialogClose {
|
.DialogClose {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue