Fix last menu item tip overflowing out of document
This commit is contained in:
parent
590a31f133
commit
d3909c0371
@ -150,7 +150,8 @@ header {
|
||||
}
|
||||
|
||||
@media (min-width: $menuLayoutSwitchTreshold) {
|
||||
nav ul li a .tip {
|
||||
nav ul li {
|
||||
a .tip {
|
||||
visibility: hidden;
|
||||
position: absolute;
|
||||
display: block;
|
||||
@ -171,6 +172,13 @@ header {
|
||||
background-color: #000;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
&:last-child a .tip {
|
||||
left: unset;
|
||||
right: 4px;
|
||||
transform: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user