-
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.
fix(error-message): moved error-message style to a separate file and …
…changed font size
- Loading branch information
Showing
5 changed files
with
74 additions
and
311 deletions.
There are no files selected for viewing
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,65 @@ | ||
@import '../../style/variables.scss'; | ||
|
||
.error-message { | ||
display: block; | ||
margin-top: 8px; | ||
color: $--Wrong; | ||
font: { | ||
family: $--Font-Primary; | ||
size: 15px; | ||
weight: 400; | ||
style: normal; | ||
} | ||
line-height: 17px; /* 113.333% */ | ||
word-wrap: break-word; | ||
text-overflow: ellipsis; | ||
white-space: pre-wrap; | ||
// overflow: hidden; | ||
|
||
&_type-mini { | ||
width: 280px; | ||
height: 14px; | ||
} | ||
|
||
&_type-small { | ||
width: 400px; | ||
|
||
@media screen and (max-width: 1919px) { | ||
width: 280px; | ||
} | ||
} | ||
|
||
&_type-medium { | ||
width: 380px; | ||
max-height: 16px; | ||
text-overflow: ellipsis; | ||
white-space: nowrap; | ||
// overflow: hidden; | ||
} | ||
|
||
&_type-large { | ||
width: 540px; | ||
text-overflow: ellipsis; | ||
white-space: nowrap; | ||
overflow: hidden; | ||
} | ||
|
||
&_type-extra-large { | ||
width: 760px; | ||
text-overflow: ellipsis; | ||
white-space: nowrap; | ||
overflow: hidden; | ||
} | ||
|
||
&_type-photo { | ||
width: 280px; | ||
height: 14px; | ||
text-overflow: ellipsis; | ||
white-space: nowrap; | ||
overflow: hidden; | ||
|
||
@media screen and (max-width: 1919px) { | ||
width: 14px; | ||
} | ||
} | ||
} |
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.