merge: Fix clickable notifications blocking clicks where they shouldn't (!937)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/937 Approved-by: dakkar <dakkar@thenautilus.net> Approved-by: Marie <github@yuugi.dev>
This commit is contained in:
@@ -107,7 +107,7 @@ if ($i) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function getPointerEvents() {
|
function getPointerEvents() {
|
||||||
return defaultStore.state.notificationClickable ? undefined : 'none';
|
return defaultStore.state.notificationClickable ? 'all' : 'none';
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@@ -131,6 +131,7 @@ function getPointerEvents() {
|
|||||||
z-index: 3900000;
|
z-index: 3900000;
|
||||||
padding: 0 var(--MI-margin);
|
padding: 0 var(--MI-margin);
|
||||||
display: flex;
|
display: flex;
|
||||||
|
pointer-events: none;
|
||||||
|
|
||||||
&.notificationsPosition_leftTop {
|
&.notificationsPosition_leftTop {
|
||||||
top: var(--MI-margin);
|
top: var(--MI-margin);
|
||||||
|
|||||||
Reference in New Issue
Block a user