diff options
author | silverwind | 2023-02-21 16:23:45 +0100 |
---|---|---|
committer | GitHub | 2023-02-21 09:23:45 -0600 |
commit | 77f70bd5a39f8f52507f143849d105a3c020f115 (patch) | |
tree | 6cf5320fac2da00a133fac6940e3af7b6158a31b /web_src | |
parent | c8c2a31818527f7377ddb9fb111a55d0c058ebe7 (diff) |
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
Diffstat (limited to 'web_src')
-rw-r--r-- | web_src/less/_base.less | 2 | ||||
-rw-r--r-- | web_src/less/_font_i18n.less | 2 | ||||
-rw-r--r-- | web_src/less/_review.less | 2 | ||||
-rw-r--r-- | web_src/less/markup/content.less | 2 | ||||
-rw-r--r-- | web_src/less/modules/tippy.less | 2 |
5 files changed, 4 insertions, 6 deletions
diff --git a/web_src/less/_base.less b/web_src/less/_base.less index 42b18ed1e..a73dae6bf 100644 --- a/web_src/less/_base.less +++ b/web_src/less/_base.less @@ -226,7 +226,7 @@ body { @supports (overflow: overlay) { body { - overflow: overlay; + overflow: overlay; // stylelint-disable-line scrollbar-gutter: stable; } } diff --git a/web_src/less/_font_i18n.less b/web_src/less/_font_i18n.less index 2a4a75d29..5dae8f2aa 100644 --- a/web_src/less/_font_i18n.less +++ b/web_src/less/_font_i18n.less @@ -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????; } } diff --git a/web_src/less/_review.less b/web_src/less/_review.less index 54392151a..bf2be1f16 100644 --- a/web_src/less/_review.less +++ b/web_src/less/_review.less @@ -70,7 +70,7 @@ max-width: 1000px; @media @mediaSm { - max-width: auto; + max-width: none; padding: .75rem !important; .code-comment-buttons { diff --git a/web_src/less/markup/content.less b/web_src/less/markup/content.less index 80c6267af..2a9ca3db5 100644 --- a/web_src/less/markup/content.less +++ b/web_src/less/markup/content.less @@ -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; diff --git a/web_src/less/modules/tippy.less b/web_src/less/modules/tippy.less index 25dd7fc98..68d6eb7fa 100644 --- a/web_src/less/modules/tippy.less +++ b/web_src/less/modules/tippy.less @@ -25,7 +25,7 @@ } .tippy-box[data-theme="menu"] { - background-color: none; + background-color: transparent; color: var(--color-tooltip-text); } |