-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature #235 Implemented advanced responsive tables for smartphones (…
…javiereguiluz) This PR was squashed before being merged into the master branch (closes #235). Discussion ---------- Implemented advanced responsive tables for smartphones The other day I read this article: [Responsive Tables in Pure CSS](https://techblog.livingsocial.com/blog/2015/04/06/responsive-tables-in-pure-css/). This pull request implements that idea for tables displayed on smartphones. Checkout the differences: ### This is a table displayed in a desktop ![table_wide](https://cloud.githubusercontent.com/assets/73419/7232097/f16b09f2-e779-11e4-9052-a752fbefdd40.png) ### This is how we display that very same table on a smartphone ![table_resposive](https://cloud.githubusercontent.com/assets/73419/7232106/ff5978be-e779-11e4-948c-56d6ebb739b1.png) ### This is how the table is displayed after applying these changes ![table_response_advanced](https://cloud.githubusercontent.com/assets/73419/7232111/0a300fbe-e77a-11e4-9c3d-5b32aed57b85.png) ----- Personally I think that this method is a complete "game changer" for responsive tables and I see no reason for not using it. The only minor thing that bothers me is that you cannot reorder the table. I'm planning to add soem JavaScript magic to allow table reordering when clicking on the label of each column. Commits ------- 49126a1 Implemented advanced responsive tables for smartphones
- Loading branch information
Showing
2 changed files
with
125 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters