From 1d7d7612a6c3dafd7603cc34adaf99bd7c81e051 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Tue, 27 Mar 2018 09:38:19 -0700 Subject: [PATCH] improve floating compose button --- routes/_components/compose/ComposeBox.html | 3 ++- routes/_components/compose/ComposeButton.html | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/routes/_components/compose/ComposeBox.html b/routes/_components/compose/ComposeBox.html index 3dc68ace..1f82b124 100644 --- a/routes/_components/compose/ComposeBox.html +++ b/routes/_components/compose/ComposeBox.html @@ -53,7 +53,8 @@ position: -webkit-sticky; position: sticky; top: 10px; - z-index: 200; + z-index: 1000; + pointer-events: none; } .compose-content-warning-wrapper { diff --git a/routes/_components/compose/ComposeButton.html b/routes/_components/compose/ComposeButton.html index 355901e3..e0ba75b5 100644 --- a/routes/_components/compose/ComposeButton.html +++ b/routes/_components/compose/ComposeButton.html @@ -26,6 +26,7 @@ border-radius: 2px; margin: 5px 15px 15px 5px; background: var(--compose-button-halo); + pointer-events: auto; } .compose-box-button { grid-area: button; @@ -33,6 +34,7 @@ text-transform: uppercase; position: relative; margin: 5px; + pointer-events: auto; } .compose-box-button-spinner, .compose-box-button-compose { position: absolute;