Minimal changes for table in different devices