mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-09 15:35:22 +02:00
fix(ui): revert unnecessary changes
This commit is contained in:
parent
85f825e8be
commit
9a160f3fd5
3 changed files with 5 additions and 4 deletions
|
@ -268,6 +268,7 @@
|
||||||
|
|
||||||
html {
|
html {
|
||||||
padding-top: env(safe-area-inset-top);
|
padding-top: env(safe-area-inset-top);
|
||||||
|
padding-bottom: env(safe-area-inset-bottom);
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
<%= render "layouts/shared/htmldoc" do %>
|
<%= render "layouts/shared/htmldoc" do %>
|
||||||
<div
|
<div
|
||||||
class="flex flex-col lg:flex-row h-svh bg-surface"
|
class="flex flex-col lg:flex-row h-full bg-surface"
|
||||||
data-controller="app-layout"
|
data-controller="app-layout"
|
||||||
data-app-layout-expanded-sidebar-class="<%= expanded_sidebar_class %>"
|
data-app-layout-expanded-sidebar-class="<%= expanded_sidebar_class %>"
|
||||||
data-app-layout-collapsed-sidebar-class="<%= collapsed_sidebar_class %>"
|
data-app-layout-collapsed-sidebar-class="<%= collapsed_sidebar_class %>"
|
||||||
|
@ -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 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 %>
|
||||||
|
|
|
@ -7,13 +7,13 @@
|
||||||
data-theme="<%= theme %>"
|
data-theme="<%= theme %>"
|
||||||
data-controller="theme intercom"
|
data-controller="theme intercom"
|
||||||
data-theme-user-preference-value="<%= Current.user&.theme || "system" %>"
|
data-theme-user-preference-value="<%= Current.user&.theme || "system" %>"
|
||||||
class="h-full text-primary overflow-hidden lg:overflow-auto font-sans <%= @os %>">
|
class="h-screen text-primary overflow-hidden lg:overflow-auto font-sans <%= @os %>">
|
||||||
<head>
|
<head>
|
||||||
<%= render "layouts/shared/head" %>
|
<%= render "layouts/shared/head" %>
|
||||||
<%= yield :head %>
|
<%= yield :head %>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="bg-surface overflow-hidden lg:overflow-auto antialiased">
|
<body class="h-full bg-surface 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 %>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue