@panoramax/web-viewer 4.0.3-develop-6e0363d8 → 4.0.3-develop-2c5cb935

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.0.3-develop-6e0363d8",
3
+ "version": "4.0.3-develop-2c5cb935",
4
4
  "description": "Panoramax web viewer for geolocated pictures",
5
5
  "main": "build/index.js",
6
6
  "author": "Panoramax team",
@@ -28,14 +28,17 @@ export default class PictureLegend extends LitElement {
28
28
  :host {
29
29
  overflow-y: auto;
30
30
  overflow-x: hidden;
31
- display: block;
31
+ display: flex;
32
+ flex-direction: column;
32
33
  margin: 0;
33
34
  font-family: var(--font-family);
34
35
  }
35
36
 
36
37
  @media screen and (min-width: 576px) {
37
- :host { max-height: 70vh; }
38
- pnx-picture-metadata { width: 30vw; }
38
+ :host {
39
+ max-height: 70vh;
40
+ width: 30vw;
41
+ }
39
42
  }
40
43
 
41
44
  /* Top bar */
@@ -59,6 +62,9 @@ export default class PictureLegend extends LitElement {
59
62
  margin-bottom: 2px;
60
63
  flex-grow: 5;
61
64
  font-weight: 800;
65
+ text-overflow: ellipsis;
66
+ overflow: hidden;
67
+ white-space: nowrap;
62
68
  }
63
69
 
64
70
  #pic-legend-addr span {
@@ -212,7 +218,7 @@ export default class PictureLegend extends LitElement {
212
218
  </pnx-button>
213
219
  ` : nothing}
214
220
 
215
- <div id="pic-legend-addr">
221
+ <div id="pic-legend-addr" title=${this._addr || ""}>
216
222
  ${this._addr?.length > 0 ? this._addr : html`<span class="pnx-placeholder-loading">&nbsp;</span>`}
217
223
  </div>
218
224