Skip to content

Commit a7c53d1

Browse files
committed
Only transition vertical nav at mobile on show
1 parent d912700 commit a7c53d1

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Diff for: app/styles/_vertical-nav.less

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
display: none;
1212
}
1313
.has-project-bar & {
14-
transition: width .1s ease-in-out, left .1s ease-in-out;
14+
transition: width .1s ease-in-out;
1515
top: (@navbar-os-header-height-mobile + @project-bar-height-mobile);
1616
@media(min-width: @screen-sm-min) {
1717
display: block;
@@ -99,6 +99,7 @@
9999
&.show-mobile-nav {
100100
box-shadow: 2px 0 3px rgba(3,3,3,.15);
101101
left: 0;
102+
transition: left .1s ease-in-out;
102103
}
103104
.nav-pf-secondary-nav {
104105
background: @nav-pf-vertical-active-bg-color;

Diff for: dist/styles/main.css

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)