From fea1baeb1e1c907b5f5b0afd6092ef8303e1094b Mon Sep 17 00:00:00 2001 From: Joseph Ho Date: Mon, 5 May 2025 12:49:25 -0400 Subject: [PATCH] import: Align elements correctly while importing CSV. (#2210) --- app/views/imports/_importing.html.erb | 6 +++--- app/views/imports/_table.html.erb | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/views/imports/_importing.html.erb b/app/views/imports/_importing.html.erb index 3815cc07..490132a8 100644 --- a/app/views/imports/_importing.html.erb +++ b/app/views/imports/_importing.html.erb @@ -11,9 +11,9 @@

Your import is in progress. Check the imports menu for status updates or click 'Check Status' to refresh the page for updates. Feel free to continue using the app.

-
- <%= render LinkComponent.new(text: "Check status", href: import_path(import), variant: "primary") %> - <%= render LinkComponent.new(text: "Back to dashboard", href: root_path, variant: "secondary") %> +
+ <%= render LinkComponent.new(text: "Check status", href: import_path(import), variant: "primary", full_width: true) %> + <%= render LinkComponent.new(text: "Back to dashboard", href: root_path, variant: "secondary", full_width: true) %>
diff --git a/app/views/imports/_table.html.erb b/app/views/imports/_table.html.erb index 0339261f..4b7c32f5 100644 --- a/app/views/imports/_table.html.erb +++ b/app/views/imports/_table.html.erb @@ -1,5 +1,5 @@ <%# locals: (headers: [], rows: [], caption: nil) %> -
+
<% if caption %>
@@ -9,7 +9,7 @@
<% end %>
-
+