mirror of
https://github.com/we-promise/sure.git
synced 2026-04-11 08:14:49 +00:00
* feat: re-apply PWA changes from previous PR * feat: adjust padding on pages for mobile * fix: Add position relative to netWorthChart to avoid overflow issues on mobile * fix: Add safe-area to progress bar * feat: add missing class on html * fix: Replace touch-none with overscroll-none
33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
<%= render "layouts/shared/htmldoc" do %>
|
|
<div class="flex flex-col md:flex-row h-full bg-surface">
|
|
<div class="p-4 w-full md:w-96 shrink-0 md:h-full md:overflow-y-auto">
|
|
<%= render "settings/settings_nav" %>
|
|
</div>
|
|
|
|
<main class="grow flex h-full">
|
|
<div class="relative max-w-4xl mx-auto flex flex-col w-full h-full">
|
|
<div class="grow space-y-4 overflow-y-auto px-3 md:px-10 pt-2 md:py-4 pb-20 overscroll-contain [-webkit-overflow-scrolling:touch]">
|
|
<% if content_for?(:breadcrumbs) %>
|
|
<%= yield :breadcrumbs %>
|
|
<% else %>
|
|
<%= render "layouts/shared/breadcrumbs", breadcrumbs: @breadcrumbs %>
|
|
<% end %>
|
|
|
|
<% if content_for?(:page_title) %>
|
|
<h1 class="text-primary text-3xl md:text-xl font-medium">
|
|
<%= content_for :page_title %>
|
|
</h1>
|
|
<% end %>
|
|
|
|
<%= yield %>
|
|
<%= settings_nav_footer_mobile %>
|
|
</div>
|
|
|
|
<div class="my-4">
|
|
<%= settings_nav_footer %>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
</div>
|
|
<% end %>
|