0
Fork 0
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:
Kevin Ansfield 2021-10-20 13:18:10 +01:00
parent 8710f5f532
commit 8002309112

View file

@ -824,6 +824,11 @@
.gh-nav {
flex-basis: 280px;
}
.gh-nav-main-enter-active,
.gh-nav-main-leave-active {
width: calc(280px - 1px);
}
}
/* Mobile Nav Menu (Slides out)