From e48d729d217084342cacf71bbfa6c1fa0d867feb Mon Sep 17 00:00:00 2001 From: Tyler James Leonhardt Date: Thu, 19 Dec 2024 12:09:55 -0800 Subject: [PATCH] Apply margin to action items (#236638) Fixes https://github.com/microsoft/vscode/issues/233699 --- .../platform/quickinput/browser/media/quickInput.css | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/vs/platform/quickinput/browser/media/quickInput.css b/src/vs/platform/quickinput/browser/media/quickInput.css index 9108ee9ae80..53f42dfa5ae 100644 --- a/src/vs/platform/quickinput/browser/media/quickInput.css +++ b/src/vs/platform/quickinput/browser/media/quickInput.css @@ -26,8 +26,14 @@ flex: 1; } -.quick-input-inline-action-bar { - margin: 2px 0 0 5px; +/* give some space between input and action bar */ +.quick-input-inline-action-bar > .actions-container > .action-item:first-child { + margin-left: 5px; +} + +/* center horizontally */ +.quick-input-inline-action-bar > .actions-container > .action-item { + margin-top: 2px; } .quick-input-title {