mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-27 07:16:40 +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,6 +872,7 @@ export default function CreateInternalResourceDialog({
|
|||||||
</Form>
|
</Form>
|
||||||
</CredenzaBody>
|
</CredenzaBody>
|
||||||
<CredenzaFooter>
|
<CredenzaFooter>
|
||||||
|
<CredenzaClose asChild>
|
||||||
<Button
|
<Button
|
||||||
variant="outline"
|
variant="outline"
|
||||||
onClick={() => setOpen(false)}
|
onClick={() => setOpen(false)}
|
||||||
@@ -878,6 +880,7 @@ export default function CreateInternalResourceDialog({
|
|||||||
>
|
>
|
||||||
{t("createInternalResourceDialogCancel")}
|
{t("createInternalResourceDialogCancel")}
|
||||||
</Button>
|
</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,6 +806,7 @@ export default function EditInternalResourceDialog({
|
|||||||
</Form>
|
</Form>
|
||||||
</CredenzaBody>
|
</CredenzaBody>
|
||||||
<CredenzaFooter>
|
<CredenzaFooter>
|
||||||
|
<CredenzaClose asChild>
|
||||||
<Button
|
<Button
|
||||||
variant="outline"
|
variant="outline"
|
||||||
onClick={() => setOpen(false)}
|
onClick={() => setOpen(false)}
|
||||||
@@ -811,6 +814,7 @@ export default function EditInternalResourceDialog({
|
|||||||
>
|
>
|
||||||
{t("editInternalResourceDialogCancel")}
|
{t("editInternalResourceDialogCancel")}
|
||||||
</Button>
|
</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