From 09d3cd8fb55f7d13b9d58495367a4b9660451c1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Markb=C3=A5ge?= Date: Sun, 28 Sep 2025 12:09:08 -0400 Subject: [PATCH] [DevTools] Larger panel buttons and center (#34619) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The panel icons are quite small. Especially compared to the equivalent buttons elsewhere in Chrome DevTools that otherwise use the same icons. This makes them a little bigger to make them similar size to our other button icons. They were also a bit off center. This centers them as well. Before: Screenshot 2025-09-26 at 4 23 15 PM After: Screenshot 2025-09-26 at 4 22 57 PM --- packages/react-devtools-shared/src/devtools/views/ButtonIcon.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-devtools-shared/src/devtools/views/ButtonIcon.js b/packages/react-devtools-shared/src/devtools/views/ButtonIcon.js index a94766d4f1..1f3c339608 100644 --- a/packages/react-devtools-shared/src/devtools/views/ButtonIcon.js +++ b/packages/react-devtools-shared/src/devtools/views/ButtonIcon.js @@ -52,7 +52,7 @@ type Props = { type: IconType, }; -const panelIcons = '0 -960 960 820'; +const panelIcons = '96 -864 768 768'; export default function ButtonIcon({className = '', type}: Props): React.Node { let pathData = null; let viewBox = '0 0 24 24';