mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08: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:
parent
8bd4c11f53
commit
174d392e5a
118 changed files with 2558 additions and 1874 deletions
|
@ -8,7 +8,7 @@
|
|||
cursor: pointer;
|
||||
|
||||
.d-icon-globe {
|
||||
margin-right: .25em;
|
||||
margin-right: 0.25em;
|
||||
color: $primary-medium;
|
||||
|
||||
&:hover {
|
||||
|
@ -27,7 +27,8 @@
|
|||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
|
||||
&:before, &:after {
|
||||
&:before,
|
||||
&:after {
|
||||
content: none;
|
||||
}
|
||||
|
||||
|
@ -111,28 +112,30 @@
|
|||
width: 300px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.format {
|
||||
.format-input {
|
||||
width: 280px;
|
||||
}
|
||||
}
|
||||
.format {
|
||||
.format-input {
|
||||
width: 280px;
|
||||
}
|
||||
}
|
||||
|
||||
.formats {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
.format {
|
||||
.previewed-format {
|
||||
color: $primary-medium;
|
||||
}
|
||||
}
|
||||
}
|
||||
.formats {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
.format {
|
||||
.previewed-format {
|
||||
color: $primary-medium;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.control-group.recurrence, .control-group.format, .control-group.timezones {
|
||||
margin-top: 1em;
|
||||
}
|
||||
.control-group.recurrence,
|
||||
.control-group.format,
|
||||
.control-group.timezones {
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
.timezones-input {
|
||||
width: 99%;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue