Update buttons, infer width from content
This commit is contained in:
parent
8648cef3d8
commit
dada28d723
10 changed files with 70 additions and 76 deletions
|
|
@ -349,7 +349,6 @@ const Event = (props) => {
|
|||
type="submit"
|
||||
isLoading={isLoginLoading}
|
||||
disabled={isLoginLoading || isLoading}
|
||||
buttonWidth={`${Math.max(t('event:form.button').length*11, 100)}px`}
|
||||
>{t('event:form.button')}</Button>
|
||||
</LoginForm>
|
||||
<Error open={!!error} onClose={() => setError(null)}>{error}</Error>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue