From f198997e2c8e377423beb230ce5283914076d396 Mon Sep 17 00:00:00 2001 From: Jorge Costa Date: Mon, 2 Sep 2019 08:40:30 +0100 Subject: [PATCH] Enable declaration-block-no-duplicate-properties style lint rule. Remove duplicate property. (#17287) --- .stylelintrc.json | 1 - packages/block-library/src/block/edit-panel/editor.scss | 1 - 2 files changed, 2 deletions(-) diff --git a/.stylelintrc.json b/.stylelintrc.json index ced1059555879b..648e4d1113e4ad 100644 --- a/.stylelintrc.json +++ b/.stylelintrc.json @@ -4,7 +4,6 @@ "at-rule-empty-line-before": null, "at-rule-no-unknown": null, "comment-empty-line-before": null, - "declaration-block-no-duplicate-properties": null, "declaration-property-unit-whitelist": null, "font-weight-notation": null, "max-line-length": null, diff --git a/packages/block-library/src/block/edit-panel/editor.scss b/packages/block-library/src/block/edit-panel/editor.scss index d5b5c81fd7e714..72ad4bb3feac5c 100644 --- a/packages/block-library/src/block/edit-panel/editor.scss +++ b/packages/block-library/src/block/edit-panel/editor.scss @@ -12,7 +12,6 @@ padding: $grid-size $block-padding; // Elevate the reusable blocks toolbar above the clickthrough overlay. - position: relative; z-index: z-index(".block-editor-block-list__layout .reusable-block-edit-panel"); // Use opacity to work in various editor styles.