mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-04 14:46:57 -05:00
Enable declaration-block-no-redundant-longhand-properties
(#30950)
Enable [`declaration-block-no-redundant-longhand-properties`](https://stylelint.io/user-guide/rules/declaration-block-no-redundant-longhand-properties/) and autofix issues. The exclusions are because I find these two shorthands to be harder to read.
This commit is contained in:
parent
f80b403dc9
commit
46b7004f05
@ -141,7 +141,7 @@ export default {
|
|||||||
'custom-property-pattern': null,
|
'custom-property-pattern': null,
|
||||||
'declaration-block-no-duplicate-custom-properties': true,
|
'declaration-block-no-duplicate-custom-properties': true,
|
||||||
'declaration-block-no-duplicate-properties': [true, {ignore: ['consecutive-duplicates-with-different-values']}],
|
'declaration-block-no-duplicate-properties': [true, {ignore: ['consecutive-duplicates-with-different-values']}],
|
||||||
'declaration-block-no-redundant-longhand-properties': null,
|
'declaration-block-no-redundant-longhand-properties': [true, {ignoreShorthands: ['flex-flow', 'overflow']}],
|
||||||
'declaration-block-no-shorthand-property-overrides': null,
|
'declaration-block-no-shorthand-property-overrides': null,
|
||||||
'declaration-block-single-line-max-declarations': null,
|
'declaration-block-single-line-max-declarations': null,
|
||||||
'declaration-empty-line-before': null,
|
'declaration-empty-line-before': null,
|
||||||
|
@ -7,10 +7,7 @@
|
|||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin-top: -1rem;
|
margin: -1rem;
|
||||||
margin-bottom: -1rem;
|
|
||||||
margin-left: -1rem;
|
|
||||||
margin-right: -1rem;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.ui.relaxed.grid {
|
.ui.relaxed.grid {
|
||||||
|
@ -553,13 +553,11 @@
|
|||||||
border-bottom: 2px solid var(--color-secondary);
|
border-bottom: 2px solid var(--color-secondary);
|
||||||
}
|
}
|
||||||
.ui.secondary.pointing.menu .item {
|
.ui.secondary.pointing.menu .item {
|
||||||
border-bottom-color: transparent;
|
border-bottom: 2px solid transparent;
|
||||||
border-bottom-style: solid;
|
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
align-self: flex-end;
|
align-self: flex-end;
|
||||||
margin: 0 0 -2px;
|
margin: 0 0 -2px;
|
||||||
padding: 0.85714286em 1.14285714em;
|
padding: 0.85714286em 1.14285714em;
|
||||||
border-bottom-width: 2px;
|
|
||||||
}
|
}
|
||||||
.ui.secondary.pointing.menu .ui.dropdown .menu .item {
|
.ui.secondary.pointing.menu .ui.dropdown .menu .item {
|
||||||
border-bottom-width: 0;
|
border-bottom-width: 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user