From: Dan Karran Date: Sun, 3 Apr 2011 15:45:42 +0000 (+0100) Subject: Make the changeset browser more mobile friendly X-Git-Tag: live~7223^2~66 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/6ad1642dae301de389bdfdaacc5d88c83277b60a Make the changeset browser more mobile friendly Floating some of the cells in the changeset browser onto the following line should mean we don't need to scroll horizontally through that table. --- diff --git a/public/stylesheets/small.css b/public/stylesheets/small.css index a00434d59..cfcf0fd22 100644 --- a/public/stylesheets/small.css +++ b/public/stylesheets/small.css @@ -149,6 +149,26 @@ h1 { #small_map, #browse_map { width: 100% !important; } +#changeset_list tr { + display: block; + clear: left; + width: 100%; +} + +#changeset_list th { + display: none; +} + +#changeset_list td { + display: block; + float: left; + padding-right: 10px; +} + +#changeset_list td.comment, #changeset_list td.area { + width: 96%; + clear: left; +} /* Rules for the diary entries pages */