From 006f0deee810b277a74a07bebc57961ebc0f8707 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Sat, 14 Nov 2020 17:22:12 -0800 Subject: [PATCH] fix: fix tappable area between toolbar buttons (#1893) fixes #1884 If "disable entire toot area" is on, then the cursor becomes default between the buttons, and clicking does nothing. If it is off (default), then the cursor is always pointer and clicking between the buttons clicks the whole toot. --- src/routes/_components/IconButton.html | 1 + src/routes/_components/status/StatusToolbar.html | 1 + 2 files changed, 2 insertions(+) diff --git a/src/routes/_components/IconButton.html b/src/routes/_components/IconButton.html index 905cca51..f7a90110 100644 --- a/src/routes/_components/IconButton.html +++ b/src/routes/_components/IconButton.html @@ -21,6 +21,7 @@ display: flex; align-items: center; justify-content: center; + pointer-events: auto; } :global(.icon-button-svg) { diff --git a/src/routes/_components/status/StatusToolbar.html b/src/routes/_components/status/StatusToolbar.html index e06a64b0..f9f4d73b 100644 --- a/src/routes/_components/status/StatusToolbar.html +++ b/src/routes/_components/status/StatusToolbar.html @@ -47,6 +47,7 @@ grid-area: toolbar; display: flex; justify-content: space-between; + pointer-events: none; } .status-toolbar.status-in-own-thread { margin-left: 63px; /* offset to align all toolbar items: 48px avatar + 15px margin-right */