1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-08 23:15:24 +02:00

fix(ui): make body take full screen in pwa

This commit is contained in:
Ken Tandrian 2025-06-18 04:37:15 +00:00
parent b65e4d376e
commit f99d1f07bc
2 changed files with 2 additions and 2 deletions

View file

@ -155,7 +155,7 @@
<% end %> <% end %>
<%# MOBILE - Bottom Nav %> <%# MOBILE - Bottom Nav %>
<%= tag.nav class: "lg:hidden bg-surface shrink-0 z-10 pb-[env(safe-area-inset-bottom)] border-t border-tertiary flex justify-around" do %> <%= tag.nav class: "lg:hidden bg-surface shrink-0 z-10 pb-[calc(env(safe-area-inset-bottom)+1rem)] border-t border-tertiary flex justify-around" do %>
<% mobile_nav_items.each do |nav_item| %> <% mobile_nav_items.each do |nav_item| %>
<%= render "layouts/shared/nav_item", **nav_item %> <%= render "layouts/shared/nav_item", **nav_item %>
<% end %> <% end %>

View file

@ -13,7 +13,7 @@
<%= yield :head %> <%= yield :head %>
</head> </head>
<body class="h-full overflow-hidden lg:overflow-auto antialiased"> <body class="h-dvh pb-[env(safe-area-inset-bottom)] overflow-hidden lg:overflow-auto antialiased">
<% if Rails.env.development? %> <% if Rails.env.development? %>
<button hidden data-controller="hotkey" data-hotkey="t t /" data-action="theme#toggle"></button> <button hidden data-controller="hotkey" data-hotkey="t t /" data-action="theme#toggle"></button>
<% end %> <% end %>