Merge pull request #16207 from Snuffleupagus/declaration-block-no-redundant-longhand-properties

Enable the `declaration-block-no-redundant-longhand-properties` Stylelint rule
This commit is contained in:
Tim van der Meij 2023-03-25 15:22:01 +01:00 committed by GitHub
commit 35322bcbaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 16 deletions

View File

@ -7,6 +7,7 @@
"prettier/prettier": true, "prettier/prettier": true,
"block-no-empty": true, "block-no-empty": true,
"declaration-block-no-redundant-longhand-properties": true,
"length-zero-no-unit": [true, { "length-zero-no-unit": [true, {
ignore: ["custom-properties"] ignore: ["custom-properties"]
}], }],

View File

@ -153,10 +153,7 @@ footer {
position: absolute; position: absolute;
overflow: auto; overflow: auto;
width: 100%; width: 100%;
top: 5rem; inset: 5rem 0 4rem;
bottom: 4rem;
left: 0;
right: 0;
} }
canvas { canvas {

View File

@ -77,18 +77,12 @@ a {
#imagepane { #imagepane {
position: fixed; position: fixed;
left: 340px; inset: 10px 0 0 340px;
right: 0;
top: 10px;
bottom: 0;
} }
#images { #images {
position: absolute; position: absolute;
left: 0; inset: 22px 0 0;
right: 0;
top: 22px;
bottom: 0;
overflow: auto; overflow: auto;
} }

View File

@ -36,12 +36,9 @@
padding: 3px; padding: 3px;
} }
#PDFBug .panels { #PDFBug .panels {
bottom: 0; inset: 27px 0 0;
left: 0;
overflow: auto; overflow: auto;
position: absolute; position: absolute;
right: 0;
top: 27px;
} }
#PDFBug .panels > div { #PDFBug .panels > div {
padding: 5px; padding: 5px;