Skip to content

Commit ce144af

Browse files
Refactor icon card alignment
1 parent 9fe0615 commit ce144af

File tree

1 file changed

+4
-24
lines changed

1 file changed

+4
-24
lines changed

styles/Card.module.scss

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -96,41 +96,21 @@
9696

9797
@include desktop {
9898
height: 25rem;
99-
// position: absolute;
100-
top: -150%;
101-
z-index: 12;
10299
}
103100

104101
.card__image {
105-
max-width: 100%;
102+
width: auto;
106103
position: relative;
107104
height: 5rem;
108-
margin: 3rem 0;
105+
margin-right: 75%;
106+
margin-top: 3rem;
107+
margin-bottom: 3rem;
109108

110109
.img {
111110
margin: 0;
112111
position: absolute;
113-
left: -60% !important;
114112
object-fit: contain !important;
115113
}
116-
117-
@include desktop {
118-
.img {
119-
left: -75% !important;
120-
}
121-
}
122-
123-
@include small-mobile {
124-
.img {
125-
left: -45% !important;
126-
}
127-
}
128-
129-
@include tablet {
130-
.img {
131-
left: -65% !important;
132-
}
133-
}
134114
}
135115
}
136116
}

0 commit comments

Comments
 (0)