Skip to content

Commit

Permalink
fixed cards width
Browse files Browse the repository at this point in the history
  • Loading branch information
NKoshmak committed Dec 2, 2024
1 parent fa5bf58 commit 1804dad
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
1 change: 0 additions & 1 deletion src/styles/blocks/slider.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
top: 77%;
left: 10%;
margin: 0;
color: $text-color;
}

&__info {
Expand Down
13 changes: 6 additions & 7 deletions src/styles/blocks/what-we-do.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,28 +30,23 @@
@include page-grid;

place-items: center;
column-gap: 40px;
}
}

.card {
grid-column: 1/-1;
place-items: center;

// justify-items: center;
// align-items: center;
cursor: pointer;

@include on-tablet {
grid-column: 2 / 6;
place-items: center;

// justify-items: center;
// align-items: center;
}

@include on-desktop {
grid-column: span 4;
place-items: center;
width: 166px;
}

&__text-block {
Expand All @@ -61,6 +56,10 @@
grid-column: 2 / 6;
place-items: center;
}

@include on-desktop {
text-align: justify;
}
}

&__img {
Expand Down

0 comments on commit 1804dad

Please sign in to comment.