mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-29 18:19:39 +02:00
UI: improve alignments with submit button & budget donut (#2131)
This commit is contained in:
parent
21623eeb2d
commit
08091d24f9
2 changed files with 2 additions and 2 deletions
|
@ -51,7 +51,7 @@ class StyledFormBuilder < ActionView::Helpers::FormBuilder
|
|||
def submit(value = nil, options = {})
|
||||
default_options = {
|
||||
data: { turbo_submits_with: "Submitting..." },
|
||||
class: "btn btn--primary w-full"
|
||||
class: "btn btn--primary w-full justify-center"
|
||||
}
|
||||
|
||||
merged_options = default_options.merge(options)
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
latest_budget: @latest_budget %>
|
||||
|
||||
<div class="flex flex-col items-start gap-4 md:flex-row">
|
||||
<div class="w-full md:w-[300px] space-y-4">
|
||||
<div class="w-full md:max-w-[300px] space-y-4">
|
||||
<div class="h-[300px] bg-container rounded-xl shadow-border-xs p-8">
|
||||
<% if @budget.available_to_allocate.negative? %>
|
||||
<%= render "budgets/over_allocation_warning", budget: @budget %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue