From 6e4075a2e7e2ab838275180ac6ec257a2fc901d6 Mon Sep 17 00:00:00 2001 From: Eva Marco Date: Thu, 29 Feb 2024 17:00:40 +0100 Subject: [PATCH] :bug: Fix create team name modal width --- frontend/src/app/main/ui/dashboard/team_form.cljs | 4 +++- frontend/src/app/main/ui/dashboard/team_form.scss | 5 ++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/main/ui/dashboard/team_form.cljs b/frontend/src/app/main/ui/dashboard/team_form.cljs index ff500666d..e93244e53 100644 --- a/frontend/src/app/main/ui/dashboard/team_form.cljs +++ b/frontend/src/app/main/ui/dashboard/team_form.cljs @@ -89,7 +89,9 @@ [:div {:class (stl/css :modal-overlay)} [:div {:class (stl/css :modal-container)} - [:& fm/form {:form form :on-submit on-submit} + [:& fm/form {:form form + :on-submit on-submit + :class (stl/css :team-form)} [:div {:class (stl/css :modal-header)} (if team diff --git a/frontend/src/app/main/ui/dashboard/team_form.scss b/frontend/src/app/main/ui/dashboard/team_form.scss index dfca8099e..2545950f8 100644 --- a/frontend/src/app/main/ui/dashboard/team_form.scss +++ b/frontend/src/app/main/ui/dashboard/team_form.scss @@ -31,6 +31,10 @@ margin-bottom: $s-24; } +.team-form { + min-width: $s-400; +} + .group-name-input { @extend .input-element-label; label { @@ -44,7 +48,6 @@ input { @include bodySmallTypography; - margin-top: $s-8; } } }