mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-25 07:45:47 +00:00
refactor(FE): Adjust spacing in UniformityForm
This commit is contained in:
@@ -582,7 +582,7 @@ const UniformityForm = ({
|
|||||||
<label
|
<label
|
||||||
htmlFor='file-upload-input'
|
htmlFor='file-upload-input'
|
||||||
className={cn(
|
className={cn(
|
||||||
"w-full text-sm font-normal leading-7 after:content-['*'] after:ml-0.5 after:text-red-500",
|
"w-full text-sm font-normal leading-7 after:content-['*'] after:ml-0.5 after:text-red-500 py-2",
|
||||||
formik.touched.document &&
|
formik.touched.document &&
|
||||||
formik.errors.document &&
|
formik.errors.document &&
|
||||||
'text-red-500'
|
'text-red-500'
|
||||||
@@ -622,7 +622,7 @@ const UniformityForm = ({
|
|||||||
|
|
||||||
<section
|
<section
|
||||||
className={cn(
|
className={cn(
|
||||||
'h-full w-full border rounded-2xl border-dashed cursor-pointer mt-2',
|
'h-full w-full border rounded-2xl border-dashed cursor-pointer',
|
||||||
formik.touched.document && formik.errors.document
|
formik.touched.document && formik.errors.document
|
||||||
? 'border-red-500'
|
? 'border-red-500'
|
||||||
: 'border-gray-300'
|
: 'border-gray-300'
|
||||||
@@ -758,7 +758,7 @@ const UniformityForm = ({
|
|||||||
|
|
||||||
{!isNextStep && (
|
{!isNextStep && (
|
||||||
<>
|
<>
|
||||||
<div className='border-t border-base-content/10 -mx-4 mt-3' />
|
<div className='border-t border-base-content/10 -mx-4 mt-4' />
|
||||||
<RequirePermission permissions='lti.production.uniformity.create'>
|
<RequirePermission permissions='lti.production.uniformity.create'>
|
||||||
<Button
|
<Button
|
||||||
type='submit'
|
type='submit'
|
||||||
|
|||||||
Reference in New Issue
Block a user