From 604cc4be0a559750ef4dfe3a59e7dc3607fa539d Mon Sep 17 00:00:00 2001 From: Joen Asmussen Date: Tue, 16 Jun 2020 09:22:08 +0200 Subject: [PATCH] Fix pixel shift for toggles. --- .../interface/src/components/pinned-items/style.scss | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/packages/interface/src/components/pinned-items/style.scss b/packages/interface/src/components/pinned-items/style.scss index c2f8a7fff23c8..ae959a67d2c88 100644 --- a/packages/interface/src/components/pinned-items/style.scss +++ b/packages/interface/src/components/pinned-items/style.scss @@ -2,15 +2,11 @@ display: flex; .components-button { - margin-left: 4px; - - &.is-pressed { - margin-left: 5px; - } + margin-left: $grid-unit-05; svg { - max-width: 24px; - max-height: 24px; + max-width: $icon-size; + max-height: $icon-size; } } }