Skip to content

#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere

Raise toasts above the mobile bottom bar (#7912)

Anthony Stirling06fc0487cfbe
diff --git a/frontend/editor/src/core/components/toast/ToastRenderer.css b/frontend/editor/src/core/components/toast/ToastRenderer.css
index 9a9bbbe609..8f89415e08 100644
--- a/frontend/editor/src/core/components/toast/ToastRenderer.css
+++ b/frontend/editor/src/core/components/toast/ToastRenderer.css
@@ -235,3 +235,11 @@
color: var(--c-text);
border-color: var(--c-border);
}
+
+@media (max-width: 64rem) {
+ .toast-container--bottom-left,
+ .toast-container--bottom-right,
+ .toast-container--bottom-center {
+ bottom: calc(3.75rem + env(safe-area-inset-bottom, 0px));
+ }
+}