diff --git a/.stylelintrc b/.stylelintrc index 97077b87f..e7146c24c 100644 --- a/.stylelintrc +++ b/.stylelintrc @@ -7,6 +7,7 @@ "prettier/prettier": true, "block-no-empty": true, + "declaration-block-no-duplicate-properties": true, "declaration-block-no-redundant-longhand-properties": true, "declaration-property-value-disallowed-list": { "float": ["inline-start", "inline-end"] diff --git a/web/annotation_editor_layer_builder.css b/web/annotation_editor_layer_builder.css index 425190a62..0871ef6a4 100644 --- a/web/annotation_editor_layer_builder.css +++ b/web/annotation_editor_layer_builder.css @@ -717,7 +717,6 @@ & .radioButton { display: flex; - align-items: flex-start; gap: 8px; align-self: stretch; align-items: center; diff --git a/web/text_layer_builder.css b/web/text_layer_builder.css index 5b0b531ff..16d8737a2 100644 --- a/web/text_layer_builder.css +++ b/web/text_layer_builder.css @@ -86,7 +86,7 @@ /*#if !MOZCENTRAL*/ background: blue; /*#endif*/ - background: AccentColor; + background: AccentColor; /* stylelint-disable-line declaration-block-no-duplicate-properties */ } /* Avoids https://github.com/mozilla/pdf.js/issues/13840 in Chrome */