Skip to content

Commit

Permalink
Fix height of the content step
Browse files Browse the repository at this point in the history
  • Loading branch information
nico-villegas committed Nov 14, 2023
1 parent 3768ab5 commit 3c17b60
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions devias-web/src/Components/ItemStep/ItemStep.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@

/* Content step */
.container-step-description {
height: 0;
max-height: 0;
border-top: 0;
overflow: hidden;
transition: all .35s ease-in-out;
transition: max-height .35s ease-in-out;

.step-description {
color: #333;
Expand All @@ -66,19 +66,8 @@
}

&.show {
height: 150px;
display: flex;
max-height: 500px;
border-top: 0.5px solid #9d9d9d40;

@media (max-width: 767px){
height: 130px;
}
@media (max-width: 575px){
height: 145px;
}
@media (max-width: 459px){
height: 190px;
}
}
}

Expand All @@ -96,6 +85,16 @@
&.step-3 {
border-right: 0;
border-left: 0;
}

&.step-4 {
border-right: 0;
border-left: 0;
}

&.step-5 {
border-right: 0;
border-left: 0;
border-bottom: 0;
}
}
Expand Down

0 comments on commit 3c17b60

Please sign in to comment.