From 4459924d04cdcce60efe5647274d89aeed9f8109 Mon Sep 17 00:00:00 2001 From: Charles Zhao Date: Mon, 22 Jul 2024 14:07:09 +0800 Subject: [PATCH] refactor(console): update file uploader component to 80px fixed height --- .../ds-components/Uploader/FileUploader/index.module.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/console/src/ds-components/Uploader/FileUploader/index.module.scss b/packages/console/src/ds-components/Uploader/FileUploader/index.module.scss index 4aaef09ab..2169a078f 100644 --- a/packages/console/src/ds-components/Uploader/FileUploader/index.module.scss +++ b/packages/console/src/ds-components/Uploader/FileUploader/index.module.scss @@ -1,9 +1,13 @@ @use '@/scss/underscore' as _; .uploader { + display: flex; + align-items: center; + justify-content: center; border: 1px dashed var(--color-border); border-radius: 8px; - padding: _.unit(3.25); + padding: _.unit(2); + height: 80px; > input { display: none;