forked from forgejo/forgejo
add stylelint-stylistic
(#25285)
Add [stylelint-stylistic](https://github.com/elirasza/stylelint-stylistic), autofix all issues with two manual tweaks. This restores all the stylistic rules removed in Stylelint 15.
This commit is contained in:
parent
69b1e2f103
commit
3ee8970419
13 changed files with 108 additions and 27 deletions
8
web_src/css/modules/normalize.css
vendored
8
web_src/css/modules/normalize.css
vendored
|
@ -144,9 +144,9 @@ Correct the inability to style clickable types in iOS and Safari.
|
|||
*/
|
||||
|
||||
button,
|
||||
[type='button'],
|
||||
[type='reset'],
|
||||
[type='submit'] {
|
||||
[type="button"],
|
||||
[type="reset"],
|
||||
[type="submit"] {
|
||||
-webkit-appearance: button;
|
||||
}
|
||||
|
||||
|
@ -206,7 +206,7 @@ Correct the cursor style of increment and decrement buttons in Safari.
|
|||
2. Correct the outline style in Safari.
|
||||
*/
|
||||
|
||||
[type='search'] {
|
||||
[type="search"] {
|
||||
-webkit-appearance: textfield; /* 1 */
|
||||
outline-offset: -2px; /* 2 */
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue