Currently, I am developing a small jQuery application. One feature of the app involves using DataTables to display information on a grid format. However, I seem to be encountering an issue with how it appears on iPhone devices. When viewing the grid on Chrome or an Android device, everything looks great as shown in this JSFIDDLE. But when I try to view it on an iPhone, some parts of the grid are getting cut off. I have attempted tweaking the CSS properties to adjust the width so that it fits better on iPhones, but haven't had much luck. Does anyone have any suggestions?
Here's an example of what I've tried:
#example_wrapper {
width: 50px;
}
I experimented with changing the width value to see how it would affect the table size. Surprisingly, the table did shrink in Chrome, but there was no change on an iPhone.
Here's how it currently appears on my iPhone (I'm testing it on both a simulator and an actual device).
If anyone could provide some guidance on how to resolve this issue, I would greatly appreciate it. Apologies if this question is too basic - my understanding of CSS is somewhat limited.