mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-20 11:56:38 +00:00
fix close button spacing on mobile
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
import {
|
import {
|
||||||
Credenza,
|
Credenza,
|
||||||
CredenzaBody,
|
CredenzaBody,
|
||||||
|
CredenzaClose,
|
||||||
CredenzaContent,
|
CredenzaContent,
|
||||||
CredenzaDescription,
|
CredenzaDescription,
|
||||||
CredenzaFooter,
|
CredenzaFooter,
|
||||||
@@ -871,13 +872,15 @@ export default function CreateInternalResourceDialog({
|
|||||||
</Form>
|
</Form>
|
||||||
</CredenzaBody>
|
</CredenzaBody>
|
||||||
<CredenzaFooter>
|
<CredenzaFooter>
|
||||||
<Button
|
<CredenzaClose asChild>
|
||||||
variant="outline"
|
<Button
|
||||||
onClick={() => setOpen(false)}
|
variant="outline"
|
||||||
disabled={isSubmitting}
|
onClick={() => setOpen(false)}
|
||||||
>
|
disabled={isSubmitting}
|
||||||
{t("createInternalResourceDialogCancel")}
|
>
|
||||||
</Button>
|
{t("createInternalResourceDialogCancel")}
|
||||||
|
</Button>
|
||||||
|
</CredenzaClose>
|
||||||
<Button
|
<Button
|
||||||
type="submit"
|
type="submit"
|
||||||
form="create-internal-resource-form"
|
form="create-internal-resource-form"
|
||||||
|
|||||||
@@ -743,7 +743,9 @@ export default function EditInternalResourceDialog({
|
|||||||
render={({ field }) => (
|
render={({ field }) => (
|
||||||
<FormItem className="flex flex-col items-start">
|
<FormItem className="flex flex-col items-start">
|
||||||
<FormLabel>
|
<FormLabel>
|
||||||
{t("machineClients")}
|
{t(
|
||||||
|
"machineClients"
|
||||||
|
)}
|
||||||
</FormLabel>
|
</FormLabel>
|
||||||
<FormControl>
|
<FormControl>
|
||||||
<TagInput
|
<TagInput
|
||||||
@@ -804,13 +806,15 @@ export default function EditInternalResourceDialog({
|
|||||||
</Form>
|
</Form>
|
||||||
</CredenzaBody>
|
</CredenzaBody>
|
||||||
<CredenzaFooter>
|
<CredenzaFooter>
|
||||||
<Button
|
<CredenzaClose asChild>
|
||||||
variant="outline"
|
<Button
|
||||||
onClick={() => setOpen(false)}
|
variant="outline"
|
||||||
disabled={isSubmitting}
|
onClick={() => setOpen(false)}
|
||||||
>
|
disabled={isSubmitting}
|
||||||
{t("editInternalResourceDialogCancel")}
|
>
|
||||||
</Button>
|
{t("editInternalResourceDialogCancel")}
|
||||||
|
</Button>
|
||||||
|
</CredenzaClose>
|
||||||
<Button
|
<Button
|
||||||
type="submit"
|
type="submit"
|
||||||
form="edit-internal-resource-form"
|
form="edit-internal-resource-form"
|
||||||
|
|||||||
Reference in New Issue
Block a user