fix: view, api token and estimate modal description height (#4310)

This commit is contained in:
Anmol Singh Bhatia 2024-04-29 18:58:31 +05:30 committed by GitHub
parent 32d14d7000
commit 4104f87d41
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 8 additions and 8 deletions

View File

@ -146,7 +146,7 @@ export const CreateApiTokenForm: React.FC<Props> = (props) => {
onChange={onChange} onChange={onChange}
hasError={Boolean(errors.description)} hasError={Boolean(errors.description)}
placeholder="Token description" placeholder="Token description"
className="h-24 w-full text-sm" className="min-h-24 w-full text-sm"
/> />
)} )}
/> />

View File

@ -256,7 +256,7 @@ export const CreateUpdateEstimateModal: React.FC<Props> = observer((props) => {
value={value} value={value}
placeholder="Description" placeholder="Description"
onChange={onChange} onChange={onChange}
className="mt-3 h-32 resize-none text-sm" className="mt-3 min-h-32 resize-none text-sm"
hasError={Boolean(errors?.description)} hasError={Boolean(errors?.description)}
/> />
)} )}

View File

@ -148,7 +148,7 @@ export const ProjectViewForm: React.FC<Props> = observer((props) => {
id="description" id="description"
name="description" name="description"
placeholder="Description" placeholder="Description"
className="h-24 w-full resize-none text-sm" className="min-h-24 w-full resize-none text-sm"
hasError={Boolean(errors?.description)} hasError={Boolean(errors?.description)}
value={value} value={value}
onChange={onChange} onChange={onChange}

View File

@ -137,7 +137,7 @@ export const WorkspaceViewForm: React.FC<Props> = observer((props) => {
value={value} value={value}
placeholder="Description" placeholder="Description"
onChange={onChange} onChange={onChange}
className="h-24 w-full resize-none text-sm" className="min-h-24 w-full resize-none text-sm"
hasError={Boolean(errors?.description)} hasError={Boolean(errors?.description)}
/> />
)} )}