practice-time-shopping-list/style/form.css

38 lines
699 B
CSS
Raw Normal View History

2022-11-08 16:58:11 +00:00
.shopping-form-inputs {
display: flex;
align-items: flex-end;
margin-bottom: 24px;
}
.shopping-form-item-wrapper {
flex: 1; /*A div ocupe todo espaço disponível, fazendo que o outro elemento vá para o final*/
max-width: 256px;
}
.shopping-form-label {
display: block;
margin-bottom: 4px;
}
.shopping-form-item-input,
.shopping-form-quantity-input {
width: 100%;
height: 32px;
padding: 0 12px;
border: 1px solid var(--gray-300);
border-radius: 4px;
background: var(--white);
}
.shopping-form-quantity-wrapper {
display: flex;
align-items: center;
margin-left: 24px;
}
.shopping-form-quantity-input {
max-width: 64px;
text-align: center;
margin: 0 4px;
}