Skip to content

Commit

Permalink
make answer height consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
vindeolal committed Jun 14, 2021
1 parent 29dbd09 commit f26cb23
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions core/static/css/v2/pages/donate_form.less
Expand Up @@ -274,7 +274,7 @@ p{
.faq-accordion .answer {
background: #fff;
overflow: hidden;
height: 0;
max-height: 0;
transition: 0.5s;
box-shadow: none;
font-family: Fira Sans;
Expand All @@ -287,17 +287,13 @@ p{
}

.faq-accordion > input[name="collapse"]:checked ~ .answer {
height: 380px;
transition: height 0.5s;
max-height: 500px;
height: auto;
transition: max-height 0.5s;
}

.faq-accordion label {
display: block;

}

.faq-accordion > input[name="collapse"]:checked ~ .answer {
height: 150px;
}

.faq-accordion {
Expand Down

0 comments on commit f26cb23

Please sign in to comment.