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

Remarks are taken into account #636

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

RomanProkopiv
Copy link

No description provided.

@RomanProkopiv
Copy link
Author

Remarks are taken into account

Copy link

@vkryvytskyy vkryvytskyy left a comment

Choose a reason for hiding this comment

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

Screen.Recording.2021-06-08.at.11.52.11.mov

Что-то в тестах твои инпуты выглядят совсем не так как должны

src/style.css Outdated
Comment on lines 24 to 30
/* .field1 {
font: Avenir-Book;
}

.field2 {
font: Avenir-Heavy;
} */

Choose a reason for hiding this comment

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

remove commented code

src/style.css Outdated
Comment on lines 1 to 17
@font-face {
font-family: Avenir;
src: url(./fonts/avenir.ttc);
}

@font-face {
font-family: Avenir;
font-style: italic;
src: url(./fonts/Avenir-Book.ttf);
}

@font-face {
font-family: Avenir-Heavy;
font-style: italic;
font-weight: bold;
src: url(./fonts/Avenir-Heavy.ttf);
}

Choose a reason for hiding this comment

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

Щоб підключити 2 жирності одного шрифта потрібно вказати джерело шрифта, назву шрифта і його жирність.

@font-face {
  font-family:  Avenir;
  src: url(/fonts/Avenir-Book.ttf);
  font-weight: 300;
}

@font-face {
  font-family:  Avenir;
  src: url(/fonts/Avenir-Heavy.ttf);
  font-weight: 900;
}

src/style.css Outdated Show resolved Hide resolved
@RomanProkopiv
Copy link
Author

New version

Comment on lines +3 to +4
- [DEMO LINK](https://RomanProkopiv.github.io/layout_search-bar-airbnb/)
- [TEST REPORT LINK](https://RomanProkopiv.github.io/layout_search-bar-airbnb/report/html_report/)

Choose a reason for hiding this comment

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

Ссылки не рабочие, выполни пунтк 15 отсюда

Comment on lines +55 to +57
.search:default {
font-weight: 300;
}

Choose a reason for hiding this comment

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

Думаю это можно прописать просто в .search

Comment on lines +29 to +46
.field1 {
height: 70px;
font-size: 15px;
background: url(./images/Search.svg) no-repeat scroll left center;
background-position-x: 23px;
padding-left: 60px;
width: 100%;
}

.field2 {
height: 40px;
font-size: 13px;
background: url(./images/Search.svg) no-repeat scroll left center;
background-size: 12px;
background-position-x: 11px;
padding-left: 30px;
width: 100%;
}

Choose a reason for hiding this comment

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

У нас є search та search--small (--small - модифікатор). Тому всі стилі які прописані для “великого” інпуту ми задаємо для всіх інпутів в цілому, а за допомогою модифіктора small міняємо тільки потрібні значення, щоб наш інпут став малим.

field1 и field2 очень непонятные классы

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.

None yet

2 participants