From 8034d69a7b2aceb284d191714ccb6fe5536e06b3 Mon Sep 17 00:00:00 2001 From: Tammie Lister Date: Thu, 12 Nov 2020 12:29:09 +0000 Subject: [PATCH] Reduces padding on highlight for drop down (#26572) * Reduces padding on highlight for drop down * Remove the inherited callcaps. * Removes class not needed now * removes package.json * Fixes deletion of package-lock.json Co-authored-by: jasmussen --- package-lock.json | 28 +++++++++++++++++++ .../src/components/inserter/style.scss | 3 +- 2 files changed, 29 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5fdb7b259a9710..6c7a4e48c1f9c4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16388,6 +16388,16 @@ } } }, + "@testing-library/react-hooks": { + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-3.4.2.tgz", + "integrity": "sha512-RfPG0ckOzUIVeIqlOc1YztKgFW+ON8Y5xaSPbiBkfj9nMkkiLhLeBXT5icfPX65oJV/zCZu4z8EVnUc6GY9C5A==", + "dev": true, + "requires": { + "@babel/runtime": "^7.5.4", + "@types/testing-library__react-hooks": "^3.4.0" + } + }, "@types/anymatch": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/@types/anymatch/-/anymatch-1.3.1.tgz", @@ -16791,6 +16801,15 @@ "@types/react": "*" } }, + "@types/react-test-renderer": { + "version": "16.9.3", + "resolved": "https://registry.npmjs.org/@types/react-test-renderer/-/react-test-renderer-16.9.3.tgz", + "integrity": "sha512-wJ7IlN5NI82XMLOyHSa+cNN4Z0I+8/YaLl04uDgcZ+W+ExWCmCiVTLT/7fRNqzy4OhStZcUwIqLNF7q+AdW43Q==", + "dev": true, + "requires": { + "@types/react": "*" + } + }, "@types/react-textarea-autosize": { "version": "4.3.5", "resolved": "https://registry.npmjs.org/@types/react-textarea-autosize/-/react-textarea-autosize-4.3.5.tgz", @@ -16969,6 +16988,15 @@ } } }, + "@types/testing-library__react-hooks": { + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/@types/testing-library__react-hooks/-/testing-library__react-hooks-3.4.1.tgz", + "integrity": "sha512-G4JdzEcq61fUyV6wVW9ebHWEiLK2iQvaBuCHHn9eMSbZzVh4Z4wHnUGIvQOYCCYeu5DnUtFyNYuAAgbSaO/43Q==", + "dev": true, + "requires": { + "@types/react-test-renderer": "*" + } + }, "@types/tinycolor2": { "version": "1.4.2", "resolved": "https://registry.npmjs.org/@types/tinycolor2/-/tinycolor2-1.4.2.tgz", diff --git a/packages/block-editor/src/components/inserter/style.scss b/packages/block-editor/src/components/inserter/style.scss index d2c5d27084c2f3..1640d6616371e3 100644 --- a/packages/block-editor/src/components/inserter/style.scss +++ b/packages/block-editor/src/components/inserter/style.scss @@ -166,8 +166,7 @@ $block-inserter-tabs-height: 44px; } .block-editor-inserter__panel-title, -.block-editor-inserter__panel-title button, -.components-custom-select-control__menu li { +.block-editor-inserter__panel-title button { margin: 0 $grid-unit-15 0 0; color: $gray-700; text-transform: uppercase;