Fix styles for AccountModal
This commit is contained in:
parent
cd3d96d36f
commit
82d1d7550a
2 changed files with 17 additions and 12 deletions
|
|
@ -1,13 +1,14 @@
|
||||||
.Account.Dialog {
|
.Account.DialogContent {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: $unit * 2;
|
gap: $unit-2x;
|
||||||
width: $unit * 64;
|
width: $unit * 64;
|
||||||
|
|
||||||
form {
|
.Fields {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: $unit * 2;
|
gap: $unit-2x;
|
||||||
|
padding: 0 $unit-4x;
|
||||||
}
|
}
|
||||||
|
|
||||||
.DialogDescription {
|
.DialogDescription {
|
||||||
|
|
|
||||||
|
|
@ -304,14 +304,18 @@ const AccountModal = (props: Props) => {
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<form onSubmit={update}>
|
<form onSubmit={update}>
|
||||||
|
<div className="Fields">
|
||||||
{pictureField()}
|
{pictureField()}
|
||||||
{genderField()}
|
{genderField()}
|
||||||
{languageField()}
|
{languageField()}
|
||||||
{themeField()}
|
{themeField()}
|
||||||
|
</div>
|
||||||
|
<div className="DialogFooter">
|
||||||
<Button
|
<Button
|
||||||
contained={true}
|
contained={true}
|
||||||
text={t('modals.settings.buttons.confirm')}
|
text={t('modals.settings.buttons.confirm')}
|
||||||
/>
|
/>
|
||||||
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</DialogContent>
|
</DialogContent>
|
||||||
</Dialog>
|
</Dialog>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue