fix: fix pencil button location with bottom nav (#2222)

This commit is contained in:
Nolan Lawson 2022-11-21 18:53:25 -08:00 committed by GitHub
parent fdec7b2b3d
commit 347dab4e29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 1 deletions

View File

@ -39,6 +39,7 @@
--main-content-pad-top: 0px;
--main-content-pad-bottom: var(--main-content-pad-vertical);
--toast-gap-bottom: var(--nav-total-height);
--fab-gap-top: 0px;
}
</style>

View File

@ -25,7 +25,7 @@
:global(.compose-box-button-sticky, .compose-box-button-fixed) {
z-index: 5000;
top: calc(var(--nav-total-height));
top: calc(var(--fab-gap-top));
}
</style>
<script>

View File

@ -66,6 +66,7 @@
--nav-top: 0px;
--nav-bottom: initial;
--toast-gap-bottom: 0px; // used to position the Toast and Snackbar above the bottom nav
--fab-gap-top: var(--nav-total-height); // used to position the FAB (floating action button) below the top nav
//
// focus outline