Skip to content

Commit

Permalink
Add a dummy scopes toolbar to the ui/table component
Browse files Browse the repository at this point in the history
This sets up the container and usage for the scopes/saved-searches
features without delving into it right away.

Having this bar will avoid the page from "jumping" when we'll show the
batch actions toolbar.
  • Loading branch information
elia committed Jul 17, 2023
1 parent b4799eb commit 5dcb2ec
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
"
data-controller="<%= stimulus_id %>"
>
<div class="h-14 p-2 bg-white border-b border-gray-100 justify-start items-center gap-2 flex">
<%= render component('ui/tab').new(text: "All", active: true, scheme: :secondary, href: "") %>
</div>

<table class=" table-auto w-full border-collapse ">
<colgroup>
<% @columns.each do |column| %>
Expand Down

0 comments on commit 5dcb2ec

Please sign in to comment.