Update buttons, infer width from content

This commit is contained in:
Ben Grant 2021-06-05 22:03:56 +10:00
parent 8648cef3d8
commit dada28d723
10 changed files with 70 additions and 76 deletions

View file

@ -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>