Skip to content

armgit / maybe

Public Imported from GitHub
0

The personal finance app for everyone

Fix hidden selection bars on account views

Zach Gollwitzere5eb69bdc76d
diff --git a/app/views/account/trades/index.html.erb b/app/views/account/trades/index.html.erb
index 3ff7cd0d..c33c1f21 100644
--- a/app/views/account/trades/index.html.erb
+++ b/app/views/account/trades/index.html.erb
@@ -24,7 +24,7 @@
</div>
<div>
- <div hidden id="transaction-selection-bar" data-bulk-select-target="selectionBar">
+ <div id="transaction-selection-bar" data-bulk-select-target="selectionBar" class="flex justify-center hidden">
<%= render "selection_bar" %>
</div>
diff --git a/app/views/account/transactions/index.html.erb b/app/views/account/transactions/index.html.erb
index b036ceb4..a2fa3f27 100644
--- a/app/views/account/transactions/index.html.erb
+++ b/app/views/account/transactions/index.html.erb
@@ -11,7 +11,7 @@
</div>
<div id="transactions" data-controller="bulk-select" data-bulk-select-resource-value="<%= t(".transaction") %>">
- <div hidden id="transaction-selection-bar" data-bulk-select-target="selectionBar">
+ <div id="transaction-selection-bar" data-bulk-select-target="selectionBar" class="flex justify-center hidden">
<%= render "selection_bar" %>
</div>