Skip to content

Commit 9fe0615

Browse files
Position absolute cards on desktop with margin
1 parent aa52f9e commit 9fe0615

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

styles/Card.module.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@
9292
// Contact us cards
9393
&.contact-cards {
9494
height: 27rem;
95+
background-color: $white;
9596

9697
@include desktop {
9798
height: 25rem;

styles/Contact.module.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
background-color: $light-bg-color;
66
height: 42rem;
77
position: relative;
8+
margin-bottom: -10rem;
9+
@include mobile {
10+
margin-bottom: 3rem;
11+
}
812

913
&__formAndDecorations {
1014
@include tablet {

styles/ContactUsCards.module.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@
33

44
.contactCards {
55
background-color: $white;
6-
height: 30rem;
76
}

0 commit comments

Comments
 (0)