From 9b64a6034b3b68a8478bb488bd34053d77ed3747 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marina=20L=C3=B3pez?= Date: Tue, 4 Feb 2025 15:20:22 +0100 Subject: [PATCH] :bug: Fix wrong text and styles from AB test (#5762) --- frontend/src/app/main/ui/dashboard/placeholder.cljs | 2 +- frontend/src/app/main/ui/dashboard/placeholder.scss | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/frontend/src/app/main/ui/dashboard/placeholder.cljs b/frontend/src/app/main/ui/dashboard/placeholder.cljs index d1b735561..8af3d723b 100644 --- a/frontend/src/app/main/ui/dashboard/placeholder.cljs +++ b/frontend/src/app/main/ui/dashboard/placeholder.cljs @@ -79,7 +79,7 @@ :on-click on-click :on-mouse-enter on-mouse-enter :on-mouse-leave on-mouse-leave} - (if @show-text (tr "dashboard.add-file") i/add)] + (if @show-text (tr "dashboard.empty-project.create") i/add)] [:button {:class (stl/css :create-new) :on-click on-click} i/add])])))) diff --git a/frontend/src/app/main/ui/dashboard/placeholder.scss b/frontend/src/app/main/ui/dashboard/placeholder.scss index d852a2670..590d38289 100644 --- a/frontend/src/app/main/ui/dashboard/placeholder.scss +++ b/frontend/src/app/main/ui/dashboard/placeholder.scss @@ -105,9 +105,9 @@ .empty-project-container { width: 100%; - display: flex; - justify-content: space-around; + display: grid; gap: $s-16; + grid-template-columns: 1fr 1fr 1fr; margin-top: $s-12; } @@ -130,6 +130,10 @@ --color-card-title: var(--color-background-secondary); --color-card-subtitle: var(--color-background-secondary); cursor: pointer; + + .empty-project-card-title { + font-weight: $fw500; + } } flex-grow: 1;