mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-23 19:48:54 +02:00
chore: enable stylelint standard config (#6442)
* chore: enable stylelint standard config * remove empty line * fix
This commit is contained in:
parent
2f4b2e1790
commit
e40cafccd5
30 changed files with 94 additions and 78 deletions
|
@ -26,7 +26,7 @@ CSS variables, meant to be overridden by final theme
|
|||
display: none;
|
||||
}
|
||||
|
||||
.details > summary:before {
|
||||
.details > summary::before {
|
||||
position: absolute;
|
||||
top: 0.45rem;
|
||||
left: 0;
|
||||
|
@ -45,9 +45,9 @@ CSS variables, meant to be overridden by final theme
|
|||
}
|
||||
|
||||
/* When JS disabled/failed to load: we use the open property for arrow animation: */
|
||||
.details[open]:not(.isBrowser) > summary:before,
|
||||
.details[open]:not(.isBrowser) > summary::before,
|
||||
/* When JS works: we use the data-attribute for arrow animation */
|
||||
.details[data-collapsed='false'].isBrowser > summary:before {
|
||||
.details[data-collapsed='false'].isBrowser > summary::before {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue