mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: adds prettier (#5956)
Run `prettier --write "app/assets/stylesheets/**/*.scss" "plugins/**/*.scss"` after making sure you installed it with `yarn` It's recommended to configure your editor to run prettier on file save.
This commit is contained in:
@@ -18,8 +18,8 @@ summary:first-of-type {
|
||||
}
|
||||
|
||||
summary:before {
|
||||
content: '\25BA';
|
||||
margin-right: .25em;
|
||||
content: "\25BA";
|
||||
margin-right: 0.25em;
|
||||
}
|
||||
|
||||
details[open] > * {
|
||||
@@ -27,12 +27,12 @@ details[open] > * {
|
||||
}
|
||||
|
||||
details[open] > summary:before,
|
||||
details.open > summary:before {
|
||||
content: '\25BC';
|
||||
details.open > summary:before {
|
||||
content: "\25BC";
|
||||
}
|
||||
|
||||
details[open] > summary:first-of-type ~ *,
|
||||
details.open > summary:first-of-type ~ * {
|
||||
details.open > summary:first-of-type ~ * {
|
||||
display: block;
|
||||
}
|
||||
|
||||
@@ -46,11 +46,9 @@ details .lazyYT-container {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
.elided {
|
||||
|
||||
summary:before {
|
||||
content: '' !important;
|
||||
content: "" !important;
|
||||
display: none;
|
||||
}
|
||||
|
||||
@@ -68,7 +66,6 @@ details .lazyYT-container {
|
||||
border: 1px solid #ddd;
|
||||
width: 21px;
|
||||
line-height: 12px;
|
||||
|
||||
}
|
||||
|
||||
summary:hover {
|
||||
|
||||
Reference in New Issue
Block a user