0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-22 06:46:40 -05:00

💄 Modify label in input

This commit is contained in:
Eva 2022-08-02 11:00:43 +02:00
parent 5336db4456
commit 10e0a662e4
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

@ -72,10 +72,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")}]]
@ -159,7 +158,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"