-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: переписать валидацию попапов под кастомный хук; fix: исправ…
…ить ошибку с отрицательным маргином при выходе из личного кабинета на десктопе
- Loading branch information
Showing
18 changed files
with
169 additions
and
228 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,15 @@ | ||
.popup__error { | ||
display: none; | ||
width: 358px; | ||
padding-top: 5px; | ||
font-weight: 400; | ||
font-size: 12px; | ||
line-height: calc(15 / 12 * 100%); | ||
color: #f00; | ||
position: absolute; | ||
top: 204px; | ||
left: 36px; | ||
} | ||
|
||
.popup__error:nth-child(2) { | ||
top: 138px; | ||
} | ||
|
||
@media screen and (max-width: 696px) { | ||
.popup__error { | ||
width: 238px; | ||
font-size: 11px; | ||
line-height: 104%; | ||
left: 23px; | ||
} | ||
|
||
.popup__error:nth-child(2) { | ||
top: 149px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
.popup__input-wrapper { | ||
min-height: 54px; | ||
display: flex; | ||
flex-direction: column; | ||
row-gap: 7px; | ||
} | ||
|
||
@media screen and (max-width: 696px) { | ||
.popup__input-wrapper { | ||
min-height: 57px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
src/blocks/welcome-window/__input/_error/welcome-window__input_error.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.welcome-window__input_error { | ||
border-bottom: 2px solid #e13939; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.