mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
Merge pull request #4298 from PaulAdamDavis/speedier-user-menu-animations
Speed up user menu animations
This commit is contained in:
commit
fed28449c6
2 changed files with 10 additions and 1 deletions
|
@ -75,6 +75,7 @@
|
|||
text-align: left;
|
||||
color: #333;
|
||||
white-space: nowrap; // prevent links from randomly breaking onto new lines
|
||||
transition: none;
|
||||
}
|
||||
|
||||
i {
|
||||
|
|
|
@ -151,6 +151,14 @@
|
|||
right: 15px;
|
||||
left: auto;
|
||||
|
||||
&.fade-in-scale {
|
||||
animation-duration: 0.1s;
|
||||
}
|
||||
|
||||
&.fade-out {
|
||||
animation-duration: 0;
|
||||
}
|
||||
|
||||
.dropdown-menu {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
|
@ -287,7 +295,7 @@
|
|||
position: absolute;
|
||||
top: 100%;
|
||||
right: 100%;
|
||||
|
||||
|
||||
.dropdown-menu {
|
||||
top: auto;
|
||||
right: auto;
|
||||
|
|
Loading…
Add table
Reference in a new issue