mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Fixed menu width jump after animating at tablet sizes
refs https://github.com/TryGhost/Team/issues/1149 - added fixed width of the main menu to the tablet-size media queries so it doesn't snap back to a smaller width after animating
This commit is contained in:
parent
8710f5f532
commit
8002309112
1 changed files with 5 additions and 0 deletions
|
@ -824,6 +824,11 @@
|
||||||
.gh-nav {
|
.gh-nav {
|
||||||
flex-basis: 280px;
|
flex-basis: 280px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.gh-nav-main-enter-active,
|
||||||
|
.gh-nav-main-leave-active {
|
||||||
|
width: calc(280px - 1px);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Mobile Nav Menu (Slides out)
|
/* Mobile Nav Menu (Slides out)
|
||||||
|
|
Loading…
Add table
Reference in a new issue