0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-25 14:11:33 -05:00

Merge pull request #2132 from penpot/eva-modify-design-onboarding-modal

💄 Modify label in input
This commit is contained in:
Andrey Antukh 2022-08-03 09:34:42 +02:00 committed by GitHub
commit 77b1ebfcc6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 18 deletions

View file

@ -1393,19 +1393,8 @@
flex-direction: column;
justify-content: space-between;
align-items: flex-start;
.input-wrapper {
.custom-input {
width: 100%;
label {
display: block;
font-size: $fs14;
color: $color-black;
font-weight: bold;
margin-bottom: 6px;
}
.custom-input input {
width: 100%;
padding-top: 0;
}
}
.btn-disabled {
color: $color-gray-40;
@ -1418,7 +1407,7 @@
justify-content: space-between;
width: 100%;
margin-bottom: 8px;
.label {
.rol {
display: flex;
justify-content: center;
align-items: center;

View file

@ -81,10 +81,9 @@
[:p.info (tr "onboarding.choice.team-up.create-team-desc")]
[:& fm/form {:form form
:on-submit on-submit}
[:div.input-wrapper
[:label (tr "onboarding.choice.team-up.create-team-placeholder")]
[:& fm/input {:type "text"
:name :name}]]
[:& fm/input {:type "text"
:name :name
:label (tr "onboarding.choice.team-up.create-team-placeholder")}]
[:& fm/submit-button
{:label (tr "labels.continue")}]]
@ -178,7 +177,7 @@
:on-submit on-submit}
[:div.invite-row
[:div.role-wrapper
[:span.label (tr "onboarding.choice.team-up.roles")]
[:span.rol (tr "onboarding.choice.team-up.roles")]
[:& fm/select {:name :role :options roles}]]
[:& fm/multi-input {:type "email"