Skip to content

Commit 61a3d3e

Browse files
committed
fixed shadow cut off from the sides - cards
1 parent 353618a commit 61a3d3e

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

styles/Card.module.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
box-shadow: $box-shadow;
99
min-width: 32%;
1010
height: 37rem;
11+
12+
@include tablet {
13+
height: 40rem;
14+
}
1115

1216
@include desktop {
1317
margin: 1.5rem 1.5rem 0 1.5rem;

styles/CardsColumns.module.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
.swiper {
1515
margin-bottom: 5rem;
16+
padding: 0 1rem;
1617

1718
:global(.swiper-pagination-bullet-active) {
1819
background-color: $dark-bg-color;
@@ -21,3 +22,5 @@
2122
}
2223

2324

25+
26+

0 commit comments

Comments
 (0)