Enable the declaration-block-no-redundant-longhand-properties Stylelint rule

Note that these changes were done automatically, using `gulp lint --fix`.
This rule will help avoid unnecessary repetition in the CSS; please see https://stylelint.io/user-guide/rules/declaration-block-no-redundant-longhand-properties/
This commit is contained in:
Jonas Jenwald 2023-03-25 10:04:29 +01:00
parent c706c6c34f
commit a4dfa04a0b
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;