From 297723d0bce22f95351a19a89652c09b367cffae Mon Sep 17 00:00:00 2001 From: Ardeshir81 Date: Wed, 2 May 2018 17:36:16 +0430 Subject: [PATCH] refactor(aio): move right margin from `.home` image to `.home` anchor (#23624) This makes the outline of `.home` symmetric. PR Close #23624 --- aio/src/styles/1-layouts/_top-menu.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/aio/src/styles/1-layouts/_top-menu.scss b/aio/src/styles/1-layouts/_top-menu.scss index 6a8d3f2387..f83ee3e5d3 100644 --- a/aio/src/styles/1-layouts/_top-menu.scss +++ b/aio/src/styles/1-layouts/_top-menu.scss @@ -96,7 +96,6 @@ aio-shell.folder-tutorial mat-toolbar.mat-toolbar { .nav-link.home img { position: relative; margin-top: -21px; - margin-right: 20px; top: 12px; height: 40px; @@ -144,6 +143,10 @@ aio-top-menu { padding: 24px 16px; cursor: pointer; + &.home{ + margin-right: 20px; + } + &:focus { background: rgba($white, 0.15); border-radius: 4px;