From cd4dffa5e0f862a16dc2f83b5fdd18045b0cac74 Mon Sep 17 00:00:00 2001 From: Alex Bozarth Date: Thu, 30 Apr 2020 12:24:27 -0700 Subject: [PATCH] Set sidebar icon height Currently icons in the side bar have no height set. This causes the iconsto use the height in the svg itself. For icons in lab whose height are hardcoded to 16px this is not an issue, but some extensions can't edit the height in the svg files and this can cause the icon height to be very large and cause issues with automated test suites. This PR sets the `height` of sidebar icons to `auto` which removes any specific height from the svg. This PR does not affect any core extensiosn and is solely to better support extenernal extensions. --- packages/ui-components/src/style/icon.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui-components/src/style/icon.ts b/packages/ui-components/src/style/icon.ts index b281f126bb64..8b462ae4db81 100644 --- a/packages/ui-components/src/style/icon.ts +++ b/packages/ui-components/src/style/icon.ts @@ -388,7 +388,7 @@ export namespace LabIconStyle { } }, element: { - // width no height + height: 'auto', width: '20px' }, options: {