From 35858b37420d48ed40ebb05c86fa92910fb81a70 Mon Sep 17 00:00:00 2001 From: Petr Gadorek Date: Wed, 20 Nov 2024 14:34:32 +0100 Subject: [PATCH] othe minor css tweeks --- src/assets/main.css | 10 ++++++++ src/components/GlobalProgress.vue | 4 ++-- src/components/LoadConfig.vue | 7 ++++-- src/components/WizardStep.vue | 24 ++++++++----------- .../wizard_steps/InstallationPathSelect.vue | 4 ++-- .../wizard_steps/PrerequisitiesCheck.vue | 15 ++++++++---- src/components/wizard_steps/TargetSelect.vue | 10 ++++---- 7 files changed, 44 insertions(+), 30 deletions(-) diff --git a/src/assets/main.css b/src/assets/main.css index 8d3b21e..9105489 100644 --- a/src/assets/main.css +++ b/src/assets/main.css @@ -33,6 +33,16 @@ body { } .wizard-container { + padding: 2rem; + max-width: 1200px; + margin: 0 auto; + align-items: center; + flex: 1; + justify-content: center; + text-align: center; +} + +.wizard-step-container { background-color: white; border-radius: 8px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); diff --git a/src/components/GlobalProgress.vue b/src/components/GlobalProgress.vue index 09c65c2..6cc40ae 100644 --- a/src/components/GlobalProgress.vue +++ b/src/components/GlobalProgress.vue @@ -3,8 +3,8 @@
{{ message }} - + diff --git a/src/components/LoadConfig.vue b/src/components/LoadConfig.vue index 593e336..96ff97b 100644 --- a/src/components/LoadConfig.vue +++ b/src/components/LoadConfig.vue @@ -88,6 +88,9 @@ export default { padding: 2rem; max-width: 1200px; margin: 0 auto; + flex: 1; + align-items: center; + justify-content: center; } .title { @@ -98,7 +101,7 @@ export default { } .content-split { - height: 500px; + height: 550px; background: white; border-radius: 8px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); @@ -110,7 +113,7 @@ export default { display: flex; flex-direction: column; align-items: center; - justify-content: center; + justify-content: top; } .option-content { diff --git a/src/components/WizardStep.vue b/src/components/WizardStep.vue index 32a6547..f057bdc 100644 --- a/src/components/WizardStep.vue +++ b/src/components/WizardStep.vue @@ -1,19 +1,15 @@ diff --git a/src/components/wizard_steps/InstallationPathSelect.vue b/src/components/wizard_steps/InstallationPathSelect.vue index 3dd33ce..2d045da 100644 --- a/src/components/wizard_steps/InstallationPathSelect.vue +++ b/src/components/wizard_steps/InstallationPathSelect.vue @@ -9,7 +9,7 @@

Choose where to install ESP-IDF and its tools. Ensure you have sufficient disk space.

-
+
diff --git a/src/components/wizard_steps/PrerequisitiesCheck.vue b/src/components/wizard_steps/PrerequisitiesCheck.vue index c7f99cc..3647a18 100644 --- a/src/components/wizard_steps/PrerequisitiesCheck.vue +++ b/src/components/wizard_steps/PrerequisitiesCheck.vue @@ -8,9 +8,7 @@ @@ -23,7 +21,11 @@ + + + {{ loading ? 'Checking...' : 'Check Prerequisites' }} +
@@ -126,8 +128,11 @@ export default {