Fix: Pass-through pointer events to swipe buttons in video container

This commit is contained in:
Cohee
2025-12-11 01:19:04 +02:00
parent f4b071e71a
commit b9aebb369f
+9
View File
@@ -5083,6 +5083,15 @@ a:hover {
background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}
/* Pass-through pointer events to the swipe buttons only */
.mes .mes_video_container .mes_img_swipes {
pointer-events: none;
}
.mes .mes_video_container .mes_img_swipes :is(.mes_img_swipe_left, .mes_img_swipe_right) {
pointer-events: auto;
}
.mes_img_swipes .right_menu_button,
.mes_img_controls .right_menu_button,
.mes_video_controls .right_menu_button {