Skip to content

Commit

Permalink
auto scroll the table if too wide and change font size
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkby7e committed Nov 18, 2024
1 parent 90ddc7e commit 5120942
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/views/tools/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
</div>
<%= turbo_frame_tag :tools_index do %>
<% if @tools.any? %>
<div class='text-sm lg:text-base overflow-x-auto'>
<table class='w-full'>
<thead class='text-left'>
<tr>
Expand All @@ -23,6 +24,7 @@
<% end %>
</tbody>
</table>
</div>
<% else %>
No tools yet!
<% end %>
Expand Down

0 comments on commit 5120942

Please sign in to comment.