Skip to content
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

Merged
merged 14 commits into from
Jun 11, 2020
Merged

Refactoring/css perf #106

merged 14 commits into from
Jun 11, 2020

Conversation

spalt08
Copy link
Owner

@spalt08 spalt08 commented Jun 6, 2020

  • improved message rendering
  • style fixes

@spalt08 spalt08 requested review from misupov and Finesse June 6, 2020 00:53
src/components/media/webpage/preview.scss Show resolved Hide resolved
@@ -3,10 +3,10 @@
flex-direction: column;
overflow-y: hidden;

&__avatar {
& .avatar {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Зачем это усложнение селектора? Если для увеличения веса селектора, то ИМХО лучше использовать !important.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

почему усложнение?
это для font-size инициалов

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Усложнение, потому что это вложенный селектор вида .foo .bar. Вариант до был проще для браузера. Нужно хотя бы .foo > .bar.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

давай пока вмерджим а аватары я после лотти поправлю везде в отдельные классы?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Смотри сам, я сообщил тебе

src/components/ui/quote/quote.scss Show resolved Hide resolved
src/core/factory.ts Outdated Show resolved Hide resolved
@spalt08 spalt08 merged commit e7912ae into dev Jun 11, 2020
@spalt08 spalt08 deleted the refactoring/css_perf branch June 11, 2020 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants