mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 15:36:22 +00:00
fix: flecha de details repetida
This commit is contained in:
parent
875de47a40
commit
c08b2158d8
1 changed files with 1 additions and 38 deletions
|
@ -573,15 +573,7 @@ $bezier: cubic-bezier(0.75, 0, 0.25, 1);
|
|||
display: none;
|
||||
}
|
||||
}
|
||||
summary::after {
|
||||
content: '▶';
|
||||
font-size: 1.8rem;
|
||||
position: absolute;
|
||||
right: 0%;
|
||||
top: 0%;
|
||||
transform: rotate(180deg);
|
||||
|
||||
}
|
||||
|
||||
&[open] {
|
||||
& > summary {
|
||||
.hide-when-open {
|
||||
|
@ -599,32 +591,3 @@ $bezier: cubic-bezier(0.75, 0, 0.25, 1);
|
|||
hr {
|
||||
border-bottom: 1px solid #dee2e6;
|
||||
}
|
||||
|
||||
details {
|
||||
summary {
|
||||
.show-when-open {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.hide-when-open {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
&[open] {
|
||||
summary {
|
||||
.show-when-open {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.hide-when-open {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
& > summary {
|
||||
list-style: none;
|
||||
&::-webkit-details-marker { display: none; }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue