Skip to content

Commit

Permalink
add animation
Browse files Browse the repository at this point in the history
  • Loading branch information
stacyk committed Dec 21, 2023
1 parent a6fb33e commit c18e25e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/lib/components/ratio/ColorIssues.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,11 @@
display: grid;
gap: var(--shim-plus);
grid-template-columns: max-content var(--triangle-height);
&::marker {
content: none;
}
&::before {
border-color: transparent transparent transparent currentColor;
border-style: solid;
Expand All @@ -76,14 +78,16 @@
content: '';
grid-column: 2;
grid-row: 1;
margin-top: var(--half-shim);
transform: rotate;
margin-block-start: var(--half-shim);
transform: rotate(0);
transition: transform 150ms;
}
}
[open] summary::before {
transform: rotate(90deg);
}
.issues-list {
display: grid;
gap: var(--half-shim);
Expand All @@ -95,6 +99,7 @@
dt {
font-weight: bold;
}
dd {
--description-margin-inline: 0;
}
Expand Down

0 comments on commit c18e25e

Please sign in to comment.