fix: view, api token and estimate modal description height (#4310)
This commit is contained in:
parent
32d14d7000
commit
4104f87d41
4 changed files with 8 additions and 8 deletions
|
|
@ -146,7 +146,7 @@ export const CreateApiTokenForm: React.FC<Props> = (props) => {
|
|||
onChange={onChange}
|
||||
hasError={Boolean(errors.description)}
|
||||
placeholder="Token description"
|
||||
className="h-24 w-full text-sm"
|
||||
className="min-h-24 w-full text-sm"
|
||||
/>
|
||||
)}
|
||||
/>
|
||||
|
|
@ -170,8 +170,8 @@ export const CreateApiTokenForm: React.FC<Props> = (props) => {
|
|||
{value === "custom"
|
||||
? "Custom date"
|
||||
: selectedOption
|
||||
? selectedOption.label
|
||||
: "Set expiration date"}
|
||||
? selectedOption.label
|
||||
: "Set expiration date"}
|
||||
</div>
|
||||
}
|
||||
value={value}
|
||||
|
|
@ -207,8 +207,8 @@ export const CreateApiTokenForm: React.FC<Props> = (props) => {
|
|||
? `Expires ${renderFormattedDate(customDate)}`
|
||||
: null
|
||||
: watch("expired_at")
|
||||
? `Expires ${getExpiryDate(watch("expired_at") ?? "")}`
|
||||
: null}
|
||||
? `Expires ${getExpiryDate(watch("expired_at") ?? "")}`
|
||||
: null}
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -256,7 +256,7 @@ export const CreateUpdateEstimateModal: React.FC<Props> = observer((props) => {
|
|||
value={value}
|
||||
placeholder="Description"
|
||||
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)}
|
||||
/>
|
||||
)}
|
||||
|
|
|
|||
|
|
@ -148,7 +148,7 @@ export const ProjectViewForm: React.FC<Props> = observer((props) => {
|
|||
id="description"
|
||||
name="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)}
|
||||
value={value}
|
||||
onChange={onChange}
|
||||
|
|
|
|||
|
|
@ -137,7 +137,7 @@ export const WorkspaceViewForm: React.FC<Props> = observer((props) => {
|
|||
value={value}
|
||||
placeholder="Description"
|
||||
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)}
|
||||
/>
|
||||
)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue