Skip to content

Commit 0120d95

Browse files
committed
Improved styling
1 parent f792c36 commit 0120d95

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

src/HorizontalStepper.scss

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,13 @@
3333
@include shadow(1);
3434
min-height: 200px;
3535
.top {
36-
min-height: 9rem;
3736
display: flex;
3837
align-items: center;
3938
position: relative;
4039
.divider-line {
4140
border-bottom: 1px solid #cccccc;
4241
height: 2px;
4342
width: 90%;
44-
top: 3rem;
4543
position: absolute;
4644
left: 5%;
4745
@include breakpoint(xs) {
@@ -52,11 +50,10 @@
5250
display: flex;
5351
align-items: center;
5452
justify-content: space-between;
55-
position: absolute;
53+
position: relative;
5654
width: 100%;
57-
top: .5rem;
5855
left: 0;
59-
padding: 2% 4%;
56+
padding: 1% 4%;
6057
@include breakpoint(xs) {
6158
width: 90%;
6259
justify-content: center;
@@ -68,6 +65,7 @@
6865
flex-direction: column;
6966
align-items: center;
7067
text-align: center;
68+
padding: 0rem 1rem;
7169
&.deactivated {
7270
@include breakpoint(xs) {
7371
display: none;
@@ -79,7 +77,7 @@
7977
}
8078
}
8179
.circle {
82-
margin-bottom: .5rem;
80+
margin: 1.5rem 0;
8381
i {
8482
background-color: #3383c8;
8583
color: #fff;
@@ -88,8 +86,11 @@
8886
}
8987
}
9088
.step-title {
89+
position: absolute;
90+
top: 90%;
91+
width: 8rem;
9192
h1, h2, h3, h4, h5 {
92-
margin: 0 0 .2rem 0;
93+
margin: 0;
9394
color: #333333;
9495
font-weight: bold;
9596
}

0 commit comments

Comments
 (0)