From 2c1b687454ffceb2d428bf86b1cda577435eafb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Zieli=C5=84ski?= Date: Fri, 22 Nov 2024 13:25:04 +0100 Subject: [PATCH] Webapp: Design improvements * Adds a horizontal gap between modal buttons * Restores vertical margin between GitHub modal text paragraphs * Removes the double "Playground sites" header in the sidebar --- .../src/components/modal/modal-buttons.tsx | 15 +++++++----- .../components/site-manager/sidebar/index.tsx | 23 ++++++++----------- .../src/github/github-export-form/form.tsx | 6 ++++- .../src/github/github-import-form/form.tsx | 6 ++++- .../src/github/github-oauth-guard/index.tsx | 2 +- .../website/src/github/preview-pr/form.tsx | 3 ++- .../src/github/preview-pr/style.module.css | 4 ++++ 7 files changed, 35 insertions(+), 24 deletions(-) diff --git a/packages/playground/website/src/components/modal/modal-buttons.tsx b/packages/playground/website/src/components/modal/modal-buttons.tsx index c9bbb0d9de..b32ce9deb8 100644 --- a/packages/playground/website/src/components/modal/modal-buttons.tsx +++ b/packages/playground/website/src/components/modal/modal-buttons.tsx @@ -9,12 +9,15 @@ interface ModalButtonsProps { onCancel?: () => void; onSubmit?: (e: any) => void; } -export default function ModalButtons({ submitText = 'Submit', areDisabled = false, areBusy, onCancel, onSubmit }: ModalButtonsProps) { +export default function ModalButtons({ + submitText = 'Submit', + areDisabled = false, + areBusy, + onCancel, + onSubmit, +}: ModalButtonsProps) { return ( - +