Skip to content
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.

Commit

Permalink
Revert "Fixed width table layout so that it doesn't shift while loading"
Browse files Browse the repository at this point in the history
That change made it unreadable on small screens and apparently
people were using it like that.

This reverts commit 4aa0cf8.
  • Loading branch information
MatmaRex committed Mar 29, 2021
1 parent 4aa0cf8 commit a797f07
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions render_stats.rb
Expand Up @@ -77,12 +77,7 @@ def percent a, b
}
end

puts '<table class="wikitable statistics" style="table-layout: fixed">'
puts '<colgroup>'
puts '<col style="width: 12em">'
puts '<col style="width: 5em">'
puts '<col style="width: 5em">'
puts '</colgroup>'
puts '<table class="wikitable statistics">'
puts '<tr>'
puts html('th', "Site", colspan: 2)
puts html('th', month || "Last 30 days", class: 'summary')
Expand Down

0 comments on commit a797f07

Please sign in to comment.