@panoramax/web-viewer 4.3.0-develop-b1f154ed → 4.3.0-develop-b0bac381

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panoramax/web-viewer",
3
- "version": "4.3.0-develop-b1f154ed",
3
+ "version": "4.3.0-develop-b0bac381",
4
4
  "description": "Panoramax web viewer for geolocated pictures",
5
5
  "main": "build/index.js",
6
6
  "author": "Panoramax team",
@@ -104,6 +104,8 @@ export default class Basic extends LitElement {
104
104
  console.error(`Component attribute "${k}" has been renamed into "${v}". Old attribute "${k}" is ignored.`);
105
105
  }
106
106
  });
107
+
108
+ if(isInIframe()) { this.classList.add("pnx-iframed"); }
107
109
  }
108
110
 
109
111
  /**
@@ -44,6 +44,12 @@ pnx-viewer pnx-cornered-grid::part(corner-bottom-right) {
44
44
  align-items: flex-start;
45
45
  justify-content: flex-start;
46
46
  }
47
+
48
+ /* Offset bottom buttons on smartphones */
49
+ pnx-viewer:not(.pnx-iframed) pnx-cornered-grid::part(corner-bottom-right),
50
+ pnx-viewer:not(.pnx-iframed) pnx-cornered-grid::part(corner-bottom-left) {
51
+ margin-bottom: 30px;
52
+ }
47
53
  }
48
54
 
49
55
  /* Mini component */