From 56c2b651078f1a2de7523e9d3a2b73df10eeda6a Mon Sep 17 00:00:00 2001 From: jasmussen Date: Wed, 2 Oct 2019 19:40:43 +0200 Subject: [PATCH] Add max-width to pinned icon SVGs. Mitigates https://github.com/WordPress/gutenberg/issues/17719. --- .../src/components/header/pinned-plugins/style.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/edit-post/src/components/header/pinned-plugins/style.scss b/packages/edit-post/src/components/header/pinned-plugins/style.scss index 030d6305ae903..ea87a514227ea 100644 --- a/packages/edit-post/src/components/header/pinned-plugins/style.scss +++ b/packages/edit-post/src/components/header/pinned-plugins/style.scss @@ -11,6 +11,11 @@ &.is-toggled { margin-left: 5px; } + + svg { + max-width: 24px; + max-height: 24px; + } } // Colorize plugin icons to ensure contrast and cohesion, but allow plugin developers to override.