Skip to content

Commit

Permalink
Update details.astro
Browse files Browse the repository at this point in the history
  • Loading branch information
userdocs committed Mar 24, 2024
1 parent c178345 commit b95944e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docs/src/components/details.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
const { class: className, summary } = Astro.props;
const randomID = Math.random().toString(36).substring(2, 8);
---

<div>
Expand All @@ -26,10 +25,9 @@ const randomID = Math.random().toString(36).substring(2, 8);
}

details div {
background-color: var(--details-1) !important;
margin-top: 2px !important;
margin-bottom: -7px !important;

z-index: -1 !important;
padding: 5px;
}

details[open] div {
Expand Down

0 comments on commit b95944e

Please sign in to comment.