Skip to content

solution#5

Open
KapToH337 wants to merge 2 commits into
smooth-changefrom
grid
Open

solution#5
KapToH337 wants to merge 2 commits into
smooth-changefrom
grid

Conversation

@KapToH337

Copy link
Copy Markdown
Owner

Comment thread src/styles/block/catalog.scss Outdated
Comment on lines +11 to +14
column-gap: $cardMargin;

&__card {
margin: 0 $cardMargin 50px;
margin-bottom: 50px;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Все супер, тільки тут можна зробити row-gap: 50px;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

agree. row-gap will be perfect here

@aionova aionova left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Good job!

Comment thread src/styles/block/catalog.scss Outdated
Comment on lines +11 to +14
column-gap: $cardMargin;

&__card {
margin: 0 $cardMargin 50px;
margin-bottom: 50px;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

agree. row-gap will be perfect here

flex-direction: row;
flex-wrap: wrap;
display: grid;
grid-template-columns: repeat(auto-fill, minmax($cardWidth, $cardWidth));

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

why you use minmax, if min and max are the same?

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