fix settings nav offset
This commit is contained in:
committed by
Pete Matsyburka
parent
3eebf6d2cf
commit
68e8cd1188
@@ -1,6 +1,6 @@
|
|||||||
<div class="flex flex-wrap space-y-4 md:flex-nowrap md:space-y-0">
|
<div class="flex flex-wrap space-y-4 md:flex-nowrap md:space-y-0">
|
||||||
<%= render 'shared/settings_nav' %>
|
<%= render 'shared/settings_nav' %>
|
||||||
<div class="flex-grow md:max-w-xl md:mx-auto">
|
<div class="flex-grow max-w-xl mx-auto">
|
||||||
<h1 class="text-3xl md:text-4xl font-bold mb-4">
|
<h1 class="text-3xl md:text-4xl font-bold mb-4">
|
||||||
<%= t('account') %>
|
<%= t('account') %>
|
||||||
</h1>
|
</h1>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<div class="flex flex-wrap space-y-4 md:flex-nowrap md:space-y-0">
|
<div class="flex flex-wrap space-y-4 md:flex-nowrap md:space-y-0">
|
||||||
<%= render 'shared/settings_nav' %>
|
<%= render 'shared/settings_nav' %>
|
||||||
<div class="flex-grow md:max-w-xl md:mx-auto min-w-0">
|
<div class="flex-grow max-w-xl mx-auto min-w-0">
|
||||||
<h1 class="text-3xl md:text-4xl font-bold mb-4">Email SMTP</h1>
|
<h1 class="text-3xl md:text-4xl font-bold mb-4">Email SMTP</h1>
|
||||||
<% value = @encrypted_config.value || {} %>
|
<% value = @encrypted_config.value || {} %>
|
||||||
<%= form_for @encrypted_config, url: settings_email_index_path, method: :post, html: { autocomplete: 'off', class: 'space-y-4' } do |f| %>
|
<%= form_for @encrypted_config, url: settings_email_index_path, method: :post, html: { autocomplete: 'off', class: 'space-y-4' } do |f| %>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<div class="flex flex-wrap space-y-4 md:flex-nowrap md:space-y-0">
|
<div class="flex flex-wrap space-y-4 md:flex-nowrap md:space-y-0">
|
||||||
<%= render 'shared/settings_nav' %>
|
<%= render 'shared/settings_nav' %>
|
||||||
<div class="flex-grow md:max-w-xl md:mx-auto">
|
<div class="flex-grow max-w-xl mx-auto">
|
||||||
<h1 class="text-3xl md:text-4xl font-bold mb-4">
|
<h1 class="text-3xl md:text-4xl font-bold mb-4">
|
||||||
<%= t('email_notifications') %>
|
<%= t('email_notifications') %>
|
||||||
</h1>
|
</h1>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<div class="flex flex-wrap space-y-4 md:flex-nowrap md:space-y-0">
|
<div class="flex flex-wrap space-y-4 md:flex-nowrap md:space-y-0">
|
||||||
<%= render 'shared/settings_nav' %>
|
<%= render 'shared/settings_nav' %>
|
||||||
<div class="flex-grow md:max-w-xl md:mx-auto">
|
<div class="flex-grow max-w-xl mx-auto">
|
||||||
<p class="text-3xl md:text-4xl font-bold mb-4">
|
<p class="text-3xl md:text-4xl font-bold mb-4">
|
||||||
<%= t('email_templates') %>
|
<%= t('email_templates') %>
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<div class="flex flex-wrap space-y-4 md:flex-nowrap md:space-y-0">
|
<div class="flex flex-wrap space-y-4 md:flex-nowrap md:space-y-0">
|
||||||
<%= render 'shared/settings_nav' %>
|
<%= render 'shared/settings_nav' %>
|
||||||
<div class="flex-grow md:max-w-xl md:mx-auto">
|
<div class="flex-grow max-w-xl mx-auto">
|
||||||
<h1 class="text-3xl md:text-4xl font-bold mb-4">
|
<h1 class="text-3xl md:text-4xl font-bold mb-4">
|
||||||
<%= t('profile') %>
|
<%= t('profile') %>
|
||||||
</h1>
|
</h1>
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<% expanded = local_assigns[:expanded] %>
|
<% expanded = local_assigns[:expanded] %>
|
||||||
|
<div class="<%= expanded ? 'block -mx-3 md:mx-0' : 'w-full md:w-52 flex-none' %>">
|
||||||
<% unless expanded %>
|
<% unless expanded %>
|
||||||
<div class="md:hidden w-full">
|
<div class="md:hidden w-full">
|
||||||
<a href="<%= settings_index_path %>" class="flex items-center space-x-0.5 font-medium">
|
<a href="<%= settings_index_path %>" class="flex items-center space-x-0.5 font-medium">
|
||||||
@@ -7,7 +8,7 @@
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
<div class="<%= expanded ? 'block -mx-3 md:mx-0' : 'hidden md:block w-full md:w-52 flex-none' %>">
|
<div class="<%= 'hidden md:block' unless expanded %>">
|
||||||
<menu-active>
|
<menu-active>
|
||||||
<ul id="account_settings_menu" class="menu px-0">
|
<ul id="account_settings_menu" class="menu px-0">
|
||||||
<% unless expanded %>
|
<% unless expanded %>
|
||||||
@@ -164,3 +165,4 @@
|
|||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<div class="flex flex-wrap space-y-4 md:flex-nowrap md:space-y-0">
|
<div class="flex flex-wrap space-y-4 md:flex-nowrap md:space-y-0">
|
||||||
<%= render 'shared/settings_nav' %>
|
<%= render 'shared/settings_nav' %>
|
||||||
<div class="flex-grow md:max-w-xl md:mx-auto">
|
<div class="flex-grow max-w-xl mx-auto">
|
||||||
<h1 class="text-3xl md:text-4xl font-bold mb-4">SMS</h1>
|
<h1 class="text-3xl md:text-4xl font-bold mb-4">SMS</h1>
|
||||||
<%= render 'placeholder' %>
|
<%= render 'placeholder' %>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<div class="flex flex-wrap space-y-4 md:flex-nowrap md:space-y-0">
|
<div class="flex flex-wrap space-y-4 md:flex-nowrap md:space-y-0">
|
||||||
<%= render 'shared/settings_nav' %>
|
<%= render 'shared/settings_nav' %>
|
||||||
<div class="flex-grow md:max-w-xl md:mx-auto">
|
<div class="flex-grow max-w-xl mx-auto">
|
||||||
<h1 class="text-3xl md:text-4xl font-bold mb-4">SAML SSO</h1>
|
<h1 class="text-3xl md:text-4xl font-bold mb-4">SAML SSO</h1>
|
||||||
<%= render 'placeholder' %>
|
<%= render 'placeholder' %>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<div class="flex flex-wrap space-y-4 md:flex-nowrap md:space-y-0">
|
<div class="flex flex-wrap space-y-4 md:flex-nowrap md:space-y-0">
|
||||||
<%= render 'shared/settings_nav' %>
|
<%= render 'shared/settings_nav' %>
|
||||||
<div class="flex-grow md:max-w-xl md:mx-auto">
|
<div class="flex-grow max-w-xl mx-auto">
|
||||||
<h1 class="text-3xl md:text-4xl font-bold mb-4">
|
<h1 class="text-3xl md:text-4xl font-bold mb-4">
|
||||||
<%= t('storage') %>
|
<%= t('storage') %>
|
||||||
</h1>
|
</h1>
|
||||||
|
|||||||
Reference in New Issue
Block a user