fix: Remove additional padding from JS controller and add directly as a class (#1007)

This commit is contained in:
Alessio Cappa
2026-02-16 23:36:27 +01:00
committed by GitHub
parent d79d86d848
commit 862d39dc3b
3 changed files with 9 additions and 29 deletions

View File

@@ -1,12 +1,12 @@
<%= turbo_stream_from account %>
<%= turbo_frame_tag id do %>
<%= tag.div class: "space-y-4 pb-32" do %>
<%= tag.div class: "space-y-4 pb-5 lg:pb-32" do %>
<%= render "accounts/show/header", account: account, title: title, subtitle: subtitle %>
<%= render UI::Account::Chart.new(account: account, period: chart_period, view: chart_view) %>
<div class="min-h-[800px]" data-testid="account-details">
<div data-testid="account-details">
<% if tabs.count > 1 %>
<%= render DS::Tabs.new(active_tab: active_tab, url_param_key: "tab") do |tabs_container| %>
<% tabs_container.with_nav(classes: "max-w-fit") do |nav| %>