🐛 Fix onboarding modal height

This commit is contained in:
Eva 2023-07-12 09:23:51 +02:00 committed by Alejandro Alonso
parent ffc65c3e31
commit 9e15a7548f
4 changed files with 49 additions and 32 deletions

View file

@ -24,15 +24,15 @@
[:div.step-number (str/ffmt "%/4" step)]]
children
[:div.buttons
[:div.step-next
[:& fm/submit-button
{:label (if (< step 4) (tr "questions.next") (tr "questions.start"))
:class "step-next"}]]
[:div.step-next
[:& fm/submit-button
{:label (if (< step 4) (tr "questions.next") (tr "questions.start"))
:class "step-next"}]]
(when on-prev
[:div.step-prev
[:button {:on-click on-prev} (tr "questions.previous")]])])
(when on-prev
[:div.step-prev
[:button {:on-click on-prev} (tr "questions.previous")]])]])
(s/def ::questions-form-step-1
(s/keys :req-un [::planning]))