From ac91b417c337e4e955c7d38059717e78fcca42f5 Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Fri, 17 Oct 2025 00:10:09 +0200 Subject: [PATCH] Attempt to improve public view layout --- dashboard/src/components/PublicPageLayout.vue | 10 +++++-- dashboard/src/components/SetupAccount.vue | 17 ++++------- dashboard/src/style.css | 7 +++++ dashboard/src/views/LoginView.vue | 15 +++++----- dashboard/src/views/OidcErrorView.vue | 4 +-- .../src/views/OidcInteractionAbortView.vue | 6 ++-- dashboard/src/views/PasswordResetView.vue | 28 +++++++++---------- 7 files changed, 47 insertions(+), 40 deletions(-) diff --git a/dashboard/src/components/PublicPageLayout.vue b/dashboard/src/components/PublicPageLayout.vue index 59d430597..b52e05277 100644 --- a/dashboard/src/components/PublicPageLayout.vue +++ b/dashboard/src/components/PublicPageLayout.vue @@ -11,6 +11,10 @@ defineProps({ type: String, default: `${API_ORIGIN}/api/v1/cloudron/avatar`, }, + cloudronName: { + type: String, + default: 'Cloudron', + } }); @@ -20,11 +24,13 @@ defineProps({
+
{{ cloudronName }}
@@ -94,8 +100,8 @@ defineProps({ } } -.public-page-layout-left img { - margin-bottom: 20%; +.public-page-layout-left .cloudron-avatar { + margin-bottom: 20px; border-radius: 10px; } diff --git a/dashboard/src/components/SetupAccount.vue b/dashboard/src/components/SetupAccount.vue index a58b933bf..5e10ce91f 100644 --- a/dashboard/src/components/SetupAccount.vue +++ b/dashboard/src/components/SetupAccount.vue @@ -104,13 +104,11 @@ onMounted(async () => {