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

Part1and2 #1

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Part1and2 #1

wants to merge 3 commits into from

Conversation

coradead
Copy link
Collaborator

No description provided.

@coradead coradead requested a review from aqus November 19, 2021 00:22
Copy link

@aqus aqus left a comment

Choose a reason for hiding this comment

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

1 ДЗ - 9 баллов
2 ДЗ - 8 баллов

.photo{
display: flex;
width: 180px;
height: 180px;
Copy link

Choose a reason for hiding this comment

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

из-за задания жесткого размера фотографии искажаются пропорции
image

МОжно поменять img на div и поставить фото на background, в таком случае пропорции искажаться не будут
image

.button {
margin-top: 57px;
width: 168px;
height: 46px;
Copy link

Choose a reason for hiding this comment

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

лучше не ограничивать размеры кнопки, чтобы она растягивалась по содержимому. Достаточно добавить паддингов.
Например, если ваша карточка будет локализована на немецкий, то в этом случае весь текст может уже не влезть и будет примерно так
image

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.

2 participants