From fc6dc78fe940c77c15cf93635e68794044817555 Mon Sep 17 00:00:00 2001 From: Esteban Marin Date: Wed, 12 Dec 2018 07:51:50 +0100 Subject: [PATCH] fix(docs-infra): fix top menu item clickable area (#27620) the clickable region of the top menu item is reduced to the focused area, so no cursor pointer is shown outside the clickable area fixes #27618 PR Close #27620 --- aio/src/styles/1-layouts/_top-menu.scss | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/aio/src/styles/1-layouts/_top-menu.scss b/aio/src/styles/1-layouts/_top-menu.scss index d02fb9e4b8..4c939f3fcb 100644 --- a/aio/src/styles/1-layouts/_top-menu.scss +++ b/aio/src/styles/1-layouts/_top-menu.scss @@ -147,14 +147,13 @@ aio-top-menu { a.nav-link { margin: 0; - padding: 24px 16px; + padding: 8px 16px; cursor: pointer; - + border-radius: 4px; + &:focus { background: rgba($white, 0.15); - border-radius: 4px; outline: none; - padding: 8px 16px; } } }