mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Improve hamburguer menu in v2, still not perfect.
This commit is contained in:
parent
f01b027da0
commit
e2874998b3
2 changed files with 7 additions and 2 deletions
|
@ -52,7 +52,6 @@
|
|||
overflow-x: visible;
|
||||
padding-right: @navbar-padding-horizontal;
|
||||
padding-left: @navbar-padding-horizontal;
|
||||
box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
|
||||
&:extend(.clearfix all);
|
||||
-webkit-overflow-scrolling: touch;
|
||||
|
||||
|
@ -569,3 +568,9 @@
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
.navbar-default when (@is-overleaf = true) {
|
||||
@media (min-width: @grid-float-breakpoint) {
|
||||
padding: @navbar-default-padding-v 0;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -96,7 +96,7 @@
|
|||
|
||||
// Navbar
|
||||
@navbar-default-padding-v : (@grid-gutter-width / 2);
|
||||
@navbar-default-padding-h : 0;
|
||||
@navbar-default-padding-h : 10px;
|
||||
@navbar-default-padding : @navbar-default-padding-v @navbar-default-padding-h;
|
||||
@navbar-default-link-color : #FFF;
|
||||
@navbar-default-link-hover-bg : @ol-green;
|
||||
|
|
Loading…
Reference in a new issue