-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactoring/css perf #106
Refactoring/css perf #106
Conversation
spalt08
commented
Jun 6, 2020
- improved message rendering
- style fixes
…actoring/css_perf
@@ -3,10 +3,10 @@ | |||
flex-direction: column; | |||
overflow-y: hidden; | |||
|
|||
&__avatar { | |||
& .avatar { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Зачем это усложнение селектора? Если для увеличения веса селектора, то ИМХО лучше использовать !important
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
почему усложнение?
это для font-size инициалов
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Усложнение, потому что это вложенный селектор вида .foo .bar
. Вариант до был проще для браузера. Нужно хотя бы .foo > .bar
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
давай пока вмерджим а аватары я после лотти поправлю везде в отдельные классы?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Смотри сам, я сообщил тебе