Skip to content

Commit

Permalink
fix(docs-infra): slightly improve aio-top-menu css (#46429)
Browse files Browse the repository at this point in the history
slightly improve the aio-top-menu css by making it more robust
regarding differnt font-sizes and also remove unnecessary css rules

PR Close #46429
  • Loading branch information
dario-piotrowicz authored and AndrewKushnir committed Jun 21, 2022
1 parent 6ad7b40 commit d05e9a9
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions aio/src/styles/1-layouts/top-menu/_top-menu.scss
Expand Up @@ -106,22 +106,14 @@ mat-toolbar.app-toolbar {

// TOP MENU
aio-top-menu {
display: flex;
flex-direction: row;
align-items: center;
width: 80%;

ul {
display: flex;
flex-direction: row;
align-items: center;
list-style-position: inside;
padding: 0px;
margin: 0px;

li {
display: flex;
padding-bottom: 2px;
list-style-type: none;
cursor: pointer;

&:focus {
Expand All @@ -132,6 +124,7 @@ mat-toolbar.app-toolbar {
margin: 0 4px;
padding: 0px;
cursor: pointer;
display: flex;

.nav-link-inner {
border-radius: 4px;
Expand All @@ -146,7 +139,6 @@ mat-toolbar.app-toolbar {
.nav-link-inner {
display: inline-flex;
align-items: center;
line-height: normal;
&::after {
content: "\e89e"; // codepoint for "open_in_new"
margin-left: 0.3rem;
Expand Down

0 comments on commit d05e9a9

Please sign in to comment.