Add responsive elements for tables and fix code style