Skip to content

Commit

Permalink
Update _accordion.scss
Browse files Browse the repository at this point in the history
If the accordion .content div contains a div with the class .content, that div currently gets display:none and so is invisible

Solution: specify the accordion .content div as a child of the dd
  • Loading branch information
clyates committed May 9, 2014
1 parent 0d9e64a commit 17f06b5
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions scss/foundation/components/_accordion.scss
Expand Up @@ -38,13 +38,14 @@ $accordion-content-active-bg-color: #fff !default;
font-size: $accordion-navigation-font-size;
&:hover { background: $accordion-navigation-hover-bg-color; }
}
}
.content {
display: none;
padding: $accordion-content-padding;
&.active {
display: block;
background: $accordion-content-active-bg-color;

> .content {
display: none;
padding: $accordion-content-padding;
&.active {
display: block;
background: $accordion-content-active-bg-color;
}
}
}
}
Expand Down

0 comments on commit 17f06b5

Please sign in to comment.