Skip to content

Commit

Permalink
try and fix accordion triangle placement
Browse files Browse the repository at this point in the history
  • Loading branch information
edsaperia committed Feb 12, 2024
1 parent 7cb4970 commit d81085a
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions app/assets/stylesheets/application.css
Original file line number Diff line number Diff line change
Expand Up @@ -520,19 +520,6 @@ label {
margin-top: 1em;
}

/* Accordion triangle styling */

details summary::-webkit-details-marker {
display: none; /* Hide default triangle marker for WebKit browsers */
}

details summary::before {
content: '\25B6'; /* Unicode character for right-pointing triangle */
display: inline-block;
margin-right: 0.5em; /* Adjust spacing between marker and text */
}

/* Change triangle marker when details are open */
details[open] summary::before {
content: '\25BC'; /* Unicode character for down-pointing triangle */
display: none;
}

0 comments on commit d81085a

Please sign in to comment.