Skip to content

Commit 1088ad2

Browse files
authored
Fix: firefox modals (#373)
1 parent aad1632 commit 1088ad2

File tree

6 files changed

+4
-6
lines changed

6 files changed

+4
-6
lines changed

src/components/DisclosureModal/DisclosureModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const DisclosureModal: FC<DisclosureModalProps> = ({
3636
maxWidth: isTablet ? '448px' : '949px',
3737
}}
3838
>
39-
<div className='w-full h-full flex'>
39+
<div className='w-full flex'>
4040
<div
4141
className='hidden lg:block flex-shrink-0 w-80 bg-dark100'
4242
style={{

src/components/RodalModal/RodalModal.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ const RodalModal: FC<RodalModalProps> = ({
4343
height: 'max-content',
4444
overflow: 'scroll',
4545
zIndex: 999,
46-
display: 'inline-table', // fix max-content height on safari browsers
4746
}
4847

4948
const customStyles = {

src/components/ValidatorManagement/CreateValidatorView/MaxEbModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const MaxEbModal = () => {
1616

1717
return (
1818
<RodalModal onClose={onClose} styles={{ maxWidth: '650px' }} isVisible={isOpen}>
19-
<div className='w-full h-full flex flex-col p-6 space-y-6 items-center justify-center'>
19+
<div className='w-full flex flex-col p-6 space-y-6 items-center justify-center'>
2020
<i className='bi-exclamation-circle text-6xl text-warning' />
2121
<Typography type='text-caption1' className='text-center'>
2222
{t('validatorManagement.maxEBModal.text')}

src/components/ValidatorModal/ValidatorModal.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ const ValidatorModal: FC<ValidatorModalProps> = ({
138138
maxWidth: isTablet ? '99%' : isLargeScreen ? '1200px' : '900px',
139139
height: isTablet ? '540px' : '653px',
140140
zIndex: 998,
141-
display: 'inline-block',
142141
}}
143142
onClose={closeModal}
144143
>

src/forms/AuthenticationForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const AuthenticationForm: FC<AuthFormProps> = ({ children, onSubmit, isVisible }
4040
}
4141

4242
return (
43-
<form className='w-full h-full' onSubmit={submitForm}>
43+
<form className='w-full' onSubmit={submitForm}>
4444
{children &&
4545
children({
4646
control,

src/forms/EditValidatorForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const EditValidatorForm: FC<EditValidatorFormProps> = ({ children, validator })
6262
}
6363

6464
return (
65-
<form className='w-full h-full' onSubmit={onSubmit}>
65+
<form className='w-full' onSubmit={onSubmit}>
6666
{children &&
6767
children({
6868
control,

0 commit comments

Comments
 (0)