diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2013-06-14 00:30:40 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2013-06-14 00:30:40 +0530 |
commit | 1283a52db82b5a3f55577ff9ec0ed71d6243414d (patch) | |
tree | ea1daf060c1eefe0043e3ece265af612ea64c01c /guides/assets | |
parent | ad694f2f264b5afe04af77b3f43971984f32808c (diff) | |
download | rails-1283a52db82b5a3f55577ff9ec0ed71d6243414d.tar.gz rails-1283a52db82b5a3f55577ff9ec0ed71d6243414d.tar.bz2 rails-1283a52db82b5a3f55577ff9ec0ed71d6243414d.zip |
Revert "Whitespace trimming in guides generation"
This reverts commit 91a1cf7013252753567b36f61bfcd5fd0a5bb2b8.
Reason: code changes disallowed in docrails, even if they are
guides generation related.
Diffstat (limited to 'guides/assets')
-rwxr-xr-x | guides/assets/stylesheets/responsive-tables.css | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/guides/assets/stylesheets/responsive-tables.css b/guides/assets/stylesheets/responsive-tables.css index 9ecb15fd3a..f5fbcbf948 100755 --- a/guides/assets/stylesheets/responsive-tables.css +++ b/guides/assets/stylesheets/responsive-tables.css @@ -1,7 +1,7 @@ /* Foundation v2.1.4 http://foundation.zurb.com */ /* Artfully masterminded by ZURB */ -/* -------------------------------------------------- +/* -------------------------------------------------- Table of Contents ----------------------------------------------------- :: Shared Styles @@ -19,21 +19,21 @@ table td, table th { padding: 9px 10px; text-align: left; } /* Mobile */ @media only screen and (max-width: 767px) { - + table { margin-bottom: 0; } - + .pinned { position: absolute; left: 0; top: 0; background: #fff; width: 35%; overflow: hidden; overflow-x: scroll; border-right: 1px solid #ccc; border-left: 1px solid #ccc; } .pinned table { border-right: none; border-left: none; width: 100%; } .pinned table th, .pinned table td { white-space: nowrap; } .pinned td:last-child { border-bottom: 0; } - + div.table-wrapper { position: relative; margin-bottom: 20px; overflow: hidden; border-right: 1px solid #ccc; } div.table-wrapper div.scrollable table { margin-left: 35%; } - div.table-wrapper div.scrollable { overflow: scroll; overflow-y: hidden; } - + div.table-wrapper div.scrollable { overflow: scroll; overflow-y: hidden; } + table td, table th { position: relative; white-space: nowrap; overflow: hidden; } table th:first-child, table td:first-child, table td:first-child, table.pinned td { display: none; } - + } /* ----------------------------------------- |