Skip to content

Commit

Permalink
fix user directory for half width
Browse files Browse the repository at this point in the history
  • Loading branch information
loftwah committed Sep 23, 2024
1 parent 25b87e6 commit 8cde4fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/users/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<h1 class="text-3xl font-bold text-white mb-6 text-center">User Directory</h1>

<% if @users.any? %>
<div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-8">
<div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-2 lg:grid-cols-4 gap-8">
<% @users.each do |user| %>
<div class="bg-gray-800 rounded-lg p-6 text-center shadow-md">
<div class="mb-4">
Expand Down

0 comments on commit 8cde4fb

Please sign in to comment.