Account Recovery
-
+
This wizard will help you restore access to your Phase Account. Please enter your
recovery phrase below
{skipPasswordStep
diff --git a/frontend/app/globals.css b/frontend/app/globals.css
index 8e3dec806..418b60915 100644
--- a/frontend/app/globals.css
+++ b/frontend/app/globals.css
@@ -2,6 +2,18 @@
@tailwind components;
@tailwind utilities;
+/* Height of the fixed mobile bottom nav; collapses to 0 above the md breakpoint so
+ layout paddings and viewport-height calcs can reference it unconditionally */
+:root {
+ --mobile-tabbar-height: calc(3.5rem + env(safe-area-inset-bottom));
+}
+
+@media (min-width: 768px) {
+ :root {
+ --mobile-tabbar-height: 0px;
+ }
+}
+
:root {
--max-width: 1100px;
--border-radius: 12px;
diff --git a/frontend/components/layout/Sidebar.tsx b/frontend/components/layout/Sidebar.tsx
index 770871867..8390218d0 100644
--- a/frontend/components/layout/Sidebar.tsx
+++ b/frontend/components/layout/Sidebar.tsx
@@ -77,6 +77,108 @@ const SidebarLink = ({
)
}
+const MobileMoreMenu = ({
+ overflowLinks,
+ organisations,
+ activeOrganisation,
+ isOwner,
+}: {
+ overflowLinks: SidebarLinkT[]
+ organisations: OrganisationType[] | null
+ activeOrganisation: OrganisationType | null
+ isOwner: boolean
+}) => {
+ return (
+
+ )
+}
+
const Sidebar = () => {
const { sidebarState, setUserPreference } = useContext(SidebarContext)
const [isAutoCollapsed, setIsAutoCollapsed] = useState(false)
@@ -267,87 +369,11 @@ const Sidebar = () => {
const mobileLinks = links.slice(0, 4)
const overflowLinks = links.slice(4)
- const MobileMoreMenu = () => {
- return (
-
- )
- }
-
return (
<>
@@ -386,7 +412,8 @@ const Sidebar = () => {
-