summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDavid Gay <david@davidgay.org>2021-05-28 21:56:09 -0400
committerDavid Gay <david@davidgay.org>2021-05-28 21:56:09 -0400
commit48d9bea48ddded98982e9f89dfc64df19d502c3f (patch)
tree80d510ca769a924086e1429e72c1ac799cef40f3 /app
parent65752b4f73cf8e1ce83cdaf8227b5d67923ac729 (diff)
Adjust grid responsiveness on leaderboard
Diffstat (limited to 'app')
-rw-r--r--app/views/leaderboard/index.html.erb10
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>