Fix navbar arrow

This commit is contained in:
Jeremy Thomas 2018-04-11 10:02:37 +01:00
parent 3babdbc850
commit 100138e3ba
2 changed files with 4 additions and 6 deletions

View File

@ -6643,6 +6643,8 @@ a.navbar-item:hover, a.navbar-item.is-active,
.navbar-link::after { .navbar-link::after {
border-color: #3273dc; border-color: #3273dc;
margin-top: -0.375em;
right: 1.125em;
} }
.navbar-dropdown { .navbar-dropdown {
@ -6783,9 +6785,6 @@ a.navbar-item:hover, a.navbar-item.is-active,
pointer-events: auto; pointer-events: auto;
transform: translateY(0); transform: translateY(0);
} }
.navbar-link::after {
right: 1.125em;
}
.navbar-menu { .navbar-menu {
flex-grow: 1; flex-grow: 1;
flex-shrink: 0; flex-shrink: 0;

View File

@ -200,6 +200,8 @@ a.navbar-item,
padding-right: 2.5em padding-right: 2.5em
&::after &::after
+arrow($navbar-dropdown-arrow) +arrow($navbar-dropdown-arrow)
margin-top: -0.375em
right: 1.125em
.navbar-dropdown .navbar-dropdown
font-size: 0.875rem font-size: 0.875rem
@ -320,9 +322,6 @@ a.navbar-item,
opacity: 1 opacity: 1
pointer-events: auto pointer-events: auto
transform: translateY(0) transform: translateY(0)
.navbar-link
&::after
right: 1.125em
.navbar-menu .navbar-menu
flex-grow: 1 flex-grow: 1
flex-shrink: 0 flex-shrink: 0