Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Responsive on mobile device with tables not working within iframe

I am having an issue where my website looks off on an actual mobile device, but when I resize the screen on my computer it looks just fine. This is within an iframe also, and looks fine outside of the iframe on a mobile device. Below is the actual URL, click on search for a player and you wills see the page.

http://adidasuprising.com/adidas-grassroots-mens-events/adidas-gauntlet-series/dallas/

UPDATE

Looks like someone else has this issue. (Responsive)Table Width does not fit the container inside iframe on ios safari

Desktop Resized

enter image description here

Google Chrome on iPhone

enter image description here

like image 659
Mike Flynn Avatar asked Apr 24 '15 09:04

Mike Flynn


1 Answers

I fixed it with this from this page.

 iframe {
        width: 1px;
        min-width: 100%;
        *width: 100%;
    }
like image 55
Mike Flynn Avatar answered Dec 06 '22 13:12

Mike Flynn