mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 22:43:30 +03:00
Merge pull request #4298 from PaulAdamDavis/speedier-user-menu-animations
Speed up user menu animations
This commit is contained in:
commit
5c312dda6e
@ -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…
Reference in New Issue
Block a user