Conversation
partials/header.html
Outdated
| @@ -0,0 +1,34 @@ | |||
| <div class="container header-flex__container"> | |||
There was a problem hiding this comment.
общий container не должен бытв флекс контейнером
There was a problem hiding this comment.
Добавити ще один div для флексу, чи container накласти на сам header?
There was a problem hiding this comment.
Дивна поведінка в хромі, при ширині 768 мобільне меню частково видно
There was a problem hiding this comment.
У хромі взагалі не відповідає дійсності без f12, в Edge наче все працює.
| .header-flex__container { | ||
| display: flex; | ||
| justify-content: baseline; | ||
| align-items: flex-end; |
There was a problem hiding this comment.
Должно идти по центру и без марджинов, у флексов полно свойств для выравнивания элементов как угодно
src/sass/2-components/_header.scss
Outdated
|
|
||
| background-color: $dark-green; | ||
|
|
||
| @media screen and (min-width: 768px) { |
src/sass/2-components/_header.scss
Outdated
| font-style: normal; | ||
| font-weight: 600; | ||
| font-size: 14px; | ||
| line-height: calc(17 / 14); |
There was a problem hiding this comment.
17/14 то еств 1.2, зачем лишнии мат операции?
| .button__buy { | ||
| padding: 12px 35px; | ||
| font-family: inherit; | ||
| font-style: normal; |
There was a problem hiding this comment.
font-family: inherit; це для кнопок, аби наслідували шрифт
font-style: normal; у загальних не було задано тому рішив написати, чи не потрібно?
src/sass/2-components/_header.scss
Outdated
|
|
||
| .button__buy { | ||
| padding: 12px 35px; | ||
| font-family: inherit; |
src/sass/2-components/_header.scss
Outdated
| font-size: 14px; | ||
| line-height: calc(17 / 14); | ||
| display: flex; | ||
| justify-content: baseline; |
There was a problem hiding this comment.
Видалив display: flex; та justify-content: baseline;
There was a problem hiding this comment.
Також ось це line-height: calc(17 / 14);
src/sass/2-components/_header.scss
Outdated
| } | ||
| } | ||
|
|
||
| .buy-arrow-in-button { |
There was a problem hiding this comment.
иконка через псевдоклас должна быть
| font-style: normal; | ||
| font-weight: 700; | ||
| font-size: 32px; | ||
| line-height: calc(39 / 32); |
partials/header.html
Outdated
| @@ -0,0 +1,34 @@ | |||
| <div class="container header-flex__container"> | |||
There was a problem hiding this comment.
Дивна поведінка в хромі, при ширині 768 мобільне меню частково видно
Добавив навігацію хедера.
Також добавив до спрайту хреста, так як перед тим десь загубився.
Також готове мобільне меню.