Skip to content

Commit

Permalink
Merge pull request #197 from loftwah/dl/improve-user-dir
Browse files Browse the repository at this point in the history
fix user directory for half width
  • Loading branch information
loftwah authored Sep 23, 2024
2 parents 25b87e6 + 8cde4fb commit 80f492e
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 80f492e

Please sign in to comment.