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,
"block-no-empty": true,
"declaration-block-no-redundant-longhand-properties": true,
"length-zero-no-unit": [true, {
ignore: ["custom-properties"]
}],

View File

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

View File

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

View File

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