diff options
-rw-r--r-- | app/views/leaderboard/index.html.erb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/views/leaderboard/index.html.erb b/app/views/leaderboard/index.html.erb index 006def1..1537cf0 100644 --- a/app/views/leaderboard/index.html.erb +++ b/app/views/leaderboard/index.html.erb @@ -12,8 +12,8 @@ with the most XP. XP is far from the only indicator of achievement in Esoterra.< <%= link_to "Refresh", leaderboard_path %> </div> -<div class="grid grid-cols-12 gap-2"> - <div class="col-span-12 sm:col-span-6"> +<div class="grid grid-cols-2 gap-2"> + <div class="col-span-2 lg:col-span-1"> <div> <h2 class="text-xl">Total Level</h2> <table class="table-auto"> @@ -36,7 +36,7 @@ with the most XP. XP is far from the only indicator of achievement in Esoterra.< </table> </div> </div> - <div class="col-span-12 sm:col-span-6"> + <div class="col-span-2 lg:col-span-1"> <div> <h2 class="text-xl">Total XP</h2> <table class="table-auto"> @@ -65,9 +65,9 @@ with the most XP. XP is far from the only indicator of achievement in Esoterra.< <div class="mt-4"> <h2 class="text-xl">Skill XP Totals</h2> - <div class="grid grid-cols-12 gap-2"> + <div class="grid grid-cols-2 gap-2"> <% @top_per_skill.each do |skill_name, skill_trainings| %> - <div class="col-span-12 sm:col-span-6"> + <div class="col-span-2 lg:col-span-1"> <h3 class="text-lg my-1"><%= skill_name %></h3> <table class="table-auto"> <thead> |