From dc4e000a580c93747f2a634bafce3fd620b837b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arno=C5=A1t=20Pleskot?= Date: Fri, 28 Jul 2023 11:23:26 +0200 Subject: [PATCH] feat: update export dialog --- src/components/ImageExportDialog.scss | 13 +++++++------ src/components/ImageExportDialog.tsx | 9 ++++----- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/components/ImageExportDialog.scss b/src/components/ImageExportDialog.scss index 093e1a76f..bb64fb1e6 100644 --- a/src/components/ImageExportDialog.scss +++ b/src/components/ImageExportDialog.scss @@ -58,12 +58,6 @@ flex-grow: 1; } - &__filename { - & > input { - margin-top: 1rem; - } - } - &__canvas { box-sizing: border-box; width: 100%; @@ -115,6 +109,13 @@ align-content: flex-start; } + &__filename { + & > input { + width: 100%; + box-sizing: border-box; + } + } + &__setting { display: flex; flex-direction: row; diff --git a/src/components/ImageExportDialog.tsx b/src/components/ImageExportDialog.tsx index 960c87f2d..d8d7a0864 100644 --- a/src/components/ImageExportDialog.tsx +++ b/src/components/ImageExportDialog.tsx @@ -128,13 +128,15 @@ const ImageExportModal = ({
{renderError && }
-
+
+
+

{t("imageExportDialog.header")}

+
{!nativeFileSystemSupported && ( )}
-
-
-

{t("imageExportDialog.header")}

{someElementIsSelected && (