Skip to content

Commit

Permalink
Update styles.css added margin underneath closed collapsible button
Browse files Browse the repository at this point in the history
  • Loading branch information
lparfitt authored Nov 20, 2024
1 parent 64fb26f commit ef3af8e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,11 @@ details summary:hover {
background-color: #232E9B;
}

/* Add spacing between the closed button and the next content */
details:not([open]) {
margin-bottom: 20px; /* Adds spacing when content is hidden */
}

/* Collapsible Content */
details .content {
background-color: #E7F8F7;
Expand Down

0 comments on commit ef3af8e

Please sign in to comment.