From 3ece2dd21d6a4298baedec6ac4d2de2de8f899bc Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Thu, 13 Aug 2020 19:24:11 +0100 Subject: [PATCH] Fix action bar safe area regression The action bar was recently moved, but the safe area was not, which left a gap between the event and the action bar, making it quite easy to trigger hover on a different event instead of reaching the action bar. Fixes https://github.com/vector-im/element-web/issues/14953 Regressed by https://github.com/matrix-org/matrix-react-sdk/pull/5056 --- res/css/views/messages/_MessageActionBar.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/css/views/messages/_MessageActionBar.scss b/res/css/views/messages/_MessageActionBar.scss index d2ff551668..1254b496b5 100644 --- a/res/css/views/messages/_MessageActionBar.scss +++ b/res/css/views/messages/_MessageActionBar.scss @@ -41,7 +41,7 @@ limitations under the License. width: calc(10px + 48px + 100% + 8px); // safe area + action bar height: calc(20px + 100%); - top: -20px; + top: -12px; left: -58px; z-index: -1; cursor: initial;