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
This commit is contained in:
parent
042463fffb
commit
fc6dc78fe9
|
@ -147,14 +147,13 @@ aio-top-menu {
|
||||||
|
|
||||||
a.nav-link {
|
a.nav-link {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 24px 16px;
|
padding: 8px 16px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
border-radius: 4px;
|
||||||
|
|
||||||
&:focus {
|
&:focus {
|
||||||
background: rgba($white, 0.15);
|
background: rgba($white, 0.15);
|
||||||
border-radius: 4px;
|
|
||||||
outline: none;
|
outline: none;
|
||||||
padding: 8px 16px;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue