Skip to content

Feature/header#10

Merged
FrontKid merged 5 commits intomainfrom
feature/header
Dec 26, 2022
Merged

Feature/header#10
FrontKid merged 5 commits intomainfrom
feature/header

Conversation

@serhii-mykalo
Copy link
Copy Markdown
Contributor

Добавив навігацію хедера.
Також добавив до спрайту хреста, так як перед тим десь загубився.
Також готове мобільне меню.

@serhii-mykalo serhii-mykalo requested review from a user, FrontKid and illia-dobro December 24, 2022 12:46
@@ -0,0 +1,34 @@
<div class="container header-flex__container">
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

общий container не должен бытв флекс контейнером

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Добавити ще один div для флексу, чи container накласти на сам header?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Дивна поведінка в хромі, при ширині 768 мобільне меню частково видно

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

У хромі взагалі не відповідає дійсності без f12, в Edge наче все працює.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Виправив!

.header-flex__container {
display: flex;
justify-content: baseline;
align-items: flex-end;
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Должно идти по центру и без марджинов, у флексов полно свойств для выравнивания элементов как угодно

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Виправив!


background-color: $dark-green;

@media screen and (min-width: 768px) {
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Все медиа внизу файла

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Виправив!

font-style: normal;
font-weight: 600;
font-size: 14px;
line-height: calc(17 / 14);
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

17/14 то еств 1.2, зачем лишнии мат операции?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Виправив!

.button__buy {
padding: 12px 35px;
font-family: inherit;
font-style: normal;
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Не дублируй свойства

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

font-family: inherit; це для кнопок, аби наслідували шрифт
font-style: normal; у загальних не було задано тому рішив написати, чи не потрібно?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Виправив!


.button__buy {
padding: 12px 35px;
font-family: inherit;
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Это лишнее

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Виправив!

font-size: 14px;
line-height: calc(17 / 14);
display: flex;
justify-content: baseline;
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Для чего тут это свойство

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Видалив display: flex; та justify-content: baseline;

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Також ось це line-height: calc(17 / 14);

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Виправив!

}
}

.buy-arrow-in-button {
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

иконка через псевдоклас должна быть

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Випрвив!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Виправив!

font-style: normal;
font-weight: 700;
font-size: 32px;
line-height: calc(39 / 32);
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Тоже самое

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Виправив!

@@ -0,0 +1,34 @@
<div class="container header-flex__container">
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Дивна поведінка в хромі, при ширині 768 мобільне меню частково видно

@FrontKid FrontKid merged commit a3954b1 into main Dec 26, 2022
@FrontKid FrontKid deleted the feature/header branch December 26, 2022 08:57
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