ONSvisual / Simple-charts

Simple responsive charts
16 stars 12 forks source link

Desktop / mobile view automation not really fit for purpose #40

Open FrankDonnarumma opened 4 years ago

FrankDonnarumma commented 4 years ago

Might be good to re-visit the widths we are using.

henryjameslau commented 4 years ago

I've had a think already, I think the widths we should use are

Having these five widths means we can use these as bootstrap grid sizes xs,s,m,l,xl.

The only issue is that when we I frame things into the ONS website, it add padding so for example if we get a chart working down to 320px, it actually needs to be squeezed into 288px after the iframe's padding has been taken into account.