Skip to content

Commit

Permalink
add price input
Browse files Browse the repository at this point in the history
  • Loading branch information
necitboss committed Nov 9, 2024
1 parent a5f4f05 commit 621be1a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
9 changes: 8 additions & 1 deletion main/_front/src/html/add-edit.html
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,16 @@ <h4 class="add-edit__choice-subtitle subtitle">Выберите<br/>тип пр

<div class="subtitle">Введите название продукта</div>
<div class="add-center__input input">
<input class="input__text" type="email" placeholder="">
<input class="input__text" type="text" placeholder="">
<span>Название</span>
</div>
<div class="add-center__price">
<div class="subtitle">Введите цену:</div>
<div class="input">
<input class="input__text" type="number" placeholder="" min="1" max="9999999">
<span>Цена</span>
</div>
</div>
<div class="add-center__count">
<h4 class="subtitle add-center__subtitle">Количество:</h4>
<div class="stepper" data-max="10">
Expand Down
8 changes: 8 additions & 0 deletions main/_front/src/scss/blocks/_add-center.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@
width: 100%;
}

.add-center__price {
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
}


.add-center__count {
display: flex;
align-items: center;
Expand Down

0 comments on commit 621be1a

Please sign in to comment.