Sie sind nicht angemeldet.

1

Dienstag, 20. Oktober 2020, 11:37

Padding around the view

Hi everybody,

I guess I have simple problem to solve.

I need a 32px padding around the krpano view when used in a browser but when viewed on a mobile device the padding should not be used.

If I add this style to the pano div in the html file : <div id="pano" style="width:auto;height:100%;padding:32px;">
I get padding all around except from the bottom and this will not exclude the padding on a mobile device.

*confused*

//thomas

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

2

Dienstag, 20. Oktober 2020, 12:00

Hi,

Use the area border
https://krpano.com/docu/xml/#area

You can set devices to desktop only.

Hope it helps,
Tuur *thumbsup*

3

Dienstag, 20. Oktober 2020, 16:18

Thank you!

*w00t*

Works exactly like I was looking for.


//thomas