examples ui changes

This commit is contained in:
Guy Ben-Aharon
2024-08-29 10:19:41 +03:00
parent 36f6eb1f81
commit 68fc11f0d8

View File

@@ -270,7 +270,7 @@ export const CreateDiagramDialog: React.FC<CreateDiagramDialogProps> = ({
switch (step) { switch (step) {
case CreateDiagramDialogStep.SELECT_DATABASE: case CreateDiagramDialogStep.SELECT_DATABASE:
return ( return (
<DialogFooter className="flex !justify-between gap-2"> <DialogFooter className="flex !justify-between gap-2 mt-4">
{hasExistingDiagram ? ( {hasExistingDiagram ? (
<DialogClose asChild> <DialogClose asChild>
<Button type="button" variant="secondary"> <Button type="button" variant="secondary">
@@ -305,7 +305,7 @@ export const CreateDiagramDialog: React.FC<CreateDiagramDialogProps> = ({
); );
case CreateDiagramDialogStep.IMPORT_DATABASE: case CreateDiagramDialogStep.IMPORT_DATABASE:
return ( return (
<DialogFooter className="flex !justify-between gap-2"> <DialogFooter className="flex !justify-between gap-2 mt-4">
<div className="flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2"> <div className="flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2">
<Button <Button
type="button" type="button"