mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Minor visual bug fixes (#212)
- Fix positioning bug introduced in #211 - Adjust search results max-height to be based on viewport height
This commit is contained in:
parent
642fbb7668
commit
52e34b530c
2 changed files with 4 additions and 9 deletions
|
@ -28,7 +28,7 @@
|
|||
}
|
||||
|
||||
.ember-power-select-options:not([role="group"]) {
|
||||
max-height: 200px;
|
||||
max-height: 70vh;
|
||||
}
|
||||
|
||||
.ember-power-select-search input {
|
||||
|
|
|
@ -267,19 +267,14 @@ body > .ember-view:not(.liquid-target-container) {
|
|||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 270px;
|
||||
width: 205px;
|
||||
height: 100%;
|
||||
transition: transform 0.4s cubic-bezier(0.1, 0.7, 0.1, 1);
|
||||
transform: translate3d(-270px, 0px, 0px);
|
||||
transform: translate3d(-205px, 0px, 0px);
|
||||
}
|
||||
.mobile-menu-expanded .gh-nav {
|
||||
transform: translate3d(0,0,0);
|
||||
}
|
||||
|
||||
.gh-nav-list a {
|
||||
padding: 7px 10px 7px 15px;
|
||||
border-radius: 0 4px 4px 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 500px) {
|
||||
|
@ -386,7 +381,7 @@ body > .ember-view:not(.liquid-target-container) {
|
|||
height: 100%;
|
||||
transition: transform 0.20s;
|
||||
/* translate3d for GPU accelerated animation - http://bit.ly/1EY1Xhx */
|
||||
transform: translate3d(-180px,0,0);
|
||||
transform: translate3d(-190px,0,0);
|
||||
}
|
||||
|
||||
/* THE FUTURE: Super sexy background blur for Webkit - http://cl.ly/b1rG */
|
||||
|
|
Loading…
Add table
Reference in a new issue