mirror of
https://github.com/picocss/pico.git
synced 2025-04-28 20:09:13 -04:00
feat: optional parent selector
This commit is contained in:
parent
9ea68c42e0
commit
ef2100499b
32 changed files with 295 additions and 277 deletions
|
@ -6,7 +6,7 @@
|
|||
* Accordion (<details>)
|
||||
*/
|
||||
|
||||
details {
|
||||
#{$parent-selector} details {
|
||||
display: block;
|
||||
margin-bottom: var(#{$css-var-prefix}spacing);
|
||||
|
||||
|
@ -102,7 +102,7 @@
|
|||
}
|
||||
|
||||
[dir="rtl"] {
|
||||
details {
|
||||
#{$parent-selector} details {
|
||||
summary {
|
||||
text-align: right;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue