mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 03:31:13 +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:
@ -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%;
|
||||
|
Reference in New Issue
Block a user