mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
refactor(FE): Standardize button styles in uniformity forms
This commit is contained in:
@@ -763,7 +763,7 @@ const UniformityForm = ({
|
||||
<Button
|
||||
type='submit'
|
||||
color='primary'
|
||||
className='w-full mt-4'
|
||||
className='w-full mt-4 px-3 py-2.5 text-sm text-base-100 rounded-lg shadow-sm'
|
||||
disabled={formik.isSubmitting}
|
||||
>
|
||||
{formik.isSubmitting ? (
|
||||
|
||||
@@ -89,7 +89,11 @@ const UniformityPreviewForm = () => {
|
||||
className={{ containerClassName: 'mb-5' }}
|
||||
/>
|
||||
<RequirePermission permissions='lti.production.uniformity.create'>
|
||||
<Button color='primary' onClick={handleNext} className='mb-10'>
|
||||
<Button
|
||||
color='primary'
|
||||
onClick={handleNext}
|
||||
className='mb-5 px-3 py-2.5 text-sm text-base-100 rounded-lg shadow-sm'
|
||||
>
|
||||
Next
|
||||
</Button>
|
||||
</RequirePermission>
|
||||
|
||||
@@ -280,7 +280,7 @@ const UniformityResultForm = () => {
|
||||
onClick={handleSubmit}
|
||||
isLoading={isSubmitting}
|
||||
disabled={!uniformityFormData}
|
||||
className='mb-10'
|
||||
className='mb-10 px-3 py-2.5 text-sm text-base-100 rounded-lg shadow-sm'
|
||||
>
|
||||
Submit
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user