improve floating compose button

This commit is contained in:
Nolan Lawson 2018-03-27 09:38:19 -07:00
parent afb67f076d
commit 1d7d7612a6
2 changed files with 4 additions and 1 deletions

View file

@ -53,7 +53,8 @@
position: -webkit-sticky; position: -webkit-sticky;
position: sticky; position: sticky;
top: 10px; top: 10px;
z-index: 200; z-index: 1000;
pointer-events: none;
} }
.compose-content-warning-wrapper { .compose-content-warning-wrapper {

View file

@ -26,6 +26,7 @@
border-radius: 2px; border-radius: 2px;
margin: 5px 15px 15px 5px; margin: 5px 15px 15px 5px;
background: var(--compose-button-halo); background: var(--compose-button-halo);
pointer-events: auto;
} }
.compose-box-button { .compose-box-button {
grid-area: button; grid-area: button;
@ -33,6 +34,7 @@
text-transform: uppercase; text-transform: uppercase;
position: relative; position: relative;
margin: 5px; margin: 5px;
pointer-events: auto;
} }
.compose-box-button-spinner, .compose-box-button-compose { .compose-box-button-spinner, .compose-box-button-compose {
position: absolute; position: absolute;