Upgrade to stylelint 15 (#22944)

- Upgrade stylelint and plugin
- Change ruleset to a explicit one, with all deprecated rules removed
- Fix new issues detected by value validation

For `overflow: overlay` see
https://github.com/stylelint/stylelint/issues/6667
This commit is contained in:
silverwind 2023-02-21 16:23:45 +01:00 committed by GitHub
parent c8c2a31818
commit 77f70bd5a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 232 additions and 139 deletions

View file

@ -226,7 +226,7 @@ body {
@supports (overflow: overlay) {
body {
overflow: overlay;
overflow: overlay; // stylelint-disable-line
scrollbar-gutter: stable;
}
}

View file

@ -89,7 +89,7 @@ each(@fonts, {
font-family: @family;
src: @src;
font-weight: @weight;
unicode-range: ~"U+11??, U+2E80-4DBF, U+4E00-9FFF, U+A960-A97F, U+AC00-D7FF, U+F900-FAFF, U+FE00-FE6F, U+FF00-FFEF, U+1F2??, U+2????";
unicode-range: U+11??, U+2E80-4DBF, U+4E00-9FFF, U+A960-A97F, U+AC00-D7FF, U+F900-FAFF, U+FE00-FE6F, U+FF00-FFEF, U+1F2??, U+2????;
}
}

View file

@ -70,7 +70,7 @@
max-width: 1000px;
@media @mediaSm {
max-width: auto;
max-width: none;
padding: .75rem !important;
.code-comment-buttons {

View file

@ -281,8 +281,6 @@
table {
display: block;
width: 100%;
width: -webkit-max-content;
width: -moz-max-content;
width: max-content;
max-width: 100%;
overflow: auto;

View file

@ -25,7 +25,7 @@
}
.tippy-box[data-theme="menu"] {
background-color: none;
background-color: transparent;
color: var(--color-tooltip-text);
}