baker icon indicating copy to clipboard operation
baker copied to clipboard

No margins ( left & right ) in urls opened within app

Open Dreeke opened this issue 14 years ago • 3 comments

Has anyone else found that when opening webpages through a url within the Baker app there are no left and right margins on the rendered page?

I have tested the same pages using mobile safari and they look normal. However, whenever opening a link with the baker app those same pages are without those margins.

Dreeke avatar Feb 21 '12 16:02 Dreeke

It's related to the zoomable property of the book, false by default. Since it's false, and you open a page inside the book itself, what happens is that the page itself will not be zoomable, and set at its default baseline size.

What are you trying to achieve exactly? Because:

  1. If it's a page that is designed to be opened inside the book, then it's better to design it properly at native resolution.
  2. If it's an external page, it's probably better if you use referrer=Baker to open it in Safari
  3. In any case, you might want to have a look at the meta viewport property that you can include in the HTML page.

I hope this helps. :)

folletto avatar Feb 27 '12 22:02 folletto

I have resolved the issue initially by adding media-queries to the page's css file. With your input I now understand what was happening so thank you!

This page is not a dedicated design for the book and I need to open it within the app so opening in Safari is not an option.

( Need to add more interactivity to our book so it gets accepted into the App store - go rejected at first attempt on the grounds it should be a book in the iBooks Store ... sigh ... ).

Dreeke avatar Feb 28 '12 14:02 Dreeke

You're welcome. :)

Yes, that limitation by Apple is indeed a problem. We usually suggest to add simple animations or effects, it's usually enough. :)

folletto avatar Feb 28 '12 14:02 folletto