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

ДЗ - Лекция 2 - 1. Компонент «Гистограмма» #13

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

Conversation

ildarado12
Copy link
Contributor

No description provided.

@jsru-1
Copy link
Contributor

jsru-1 commented Sep 29, 2024

Добавляю преподавателя (@GSemikozov) для код-ревью.

display: flex;
flex-wrap: wrap;
font-family: 'Inter', sans-serif;
padding: 24px;

Choose a reason for hiding this comment

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

16 24 24

}

.histogramCard__result {
flex-basis: 50%;

Choose a reason for hiding this comment

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

лишнее

flex-basis: 50%;
margin: 0;
opacity: 0.8;
text-align: left;

Choose a reason for hiding this comment

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

лишнее


.histogramCard__result {
flex-basis: 50%;
margin: 0;

Choose a reason for hiding this comment

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

лишнее

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Без этого маржина большие отступы - наследуются от нормалайз.

}

.histogramCard__link {
flex-basis: 50%;

Choose a reason for hiding this comment

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

лишнее

font-weight: 400;
}

.histogram {

Choose a reason for hiding this comment

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

наш блок называется как я вижу .histogramCard, так что - .histogramCard__chart?


.histogram {
display: flex;
flex-basis: 100%;

Choose a reason for hiding this comment

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

лишнее

flex-basis: 100%;
flex-wrap: nowrap;
gap: 1px;
align-items: end;

Choose a reason for hiding this comment

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

и еще высоту фиксируем как 50px


.histogram__item {
background: #4263EB;
height: 50px;

Choose a reason for hiding this comment

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

чтобы здесь задавать в процентах

align-items: end;
}

.histogram__item {

Choose a reason for hiding this comment

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

.histogramCard__chartItem

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