mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Improve pointer events for navbar popup (fix #5189)
This commit is contained in:
parent
f73c0c9c8f
commit
50c55f353c
@ -171,6 +171,9 @@ export default Vue.extend({
|
|||||||
@import 'common';
|
@import 'common';
|
||||||
|
|
||||||
@keyframes navbar-popup-in {
|
@keyframes navbar-popup-in {
|
||||||
|
1% {
|
||||||
|
pointer-events: initial;
|
||||||
|
}
|
||||||
to {
|
to {
|
||||||
pointer-events: initial;
|
pointer-events: initial;
|
||||||
}
|
}
|
||||||
@ -304,7 +307,7 @@ export default Vue.extend({
|
|||||||
.popup-container {
|
.popup-container {
|
||||||
top: 100%;
|
top: 100%;
|
||||||
> .popup {
|
> .popup {
|
||||||
animation: navbar-popup-in 0.2s ease-out 0.2s both;
|
animation: navbar-popup-in 0.2s ease-out 0.15s both;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user