@panoramax/web-viewer 4.1.0-develop-e5370cde → 4.1.0-develop-55fdf56c
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/CHANGELOG.md +1 -0
- package/build/index.css +1 -1
- package/build/index.css.map +1 -1
- package/build/index.js +12 -12
- package/build/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/core/Viewer.css +2 -2
- package/src/components/menus/PictureLegend.js +2 -1
package/package.json
CHANGED
|
@@ -77,13 +77,13 @@ pnx-viewer:not(pnx-viewer[focus="pic"]) .pnx-only-psv {
|
|
|
77
77
|
|
|
78
78
|
/* Override legend positioning */
|
|
79
79
|
@media screen and (min-width: 576px) {
|
|
80
|
-
pnx-viewer pnx-widget-legend {
|
|
80
|
+
pnx-viewer pnx-widget-legend:not([light="true"]) {
|
|
81
81
|
position: absolute;
|
|
82
82
|
left: 10px;
|
|
83
83
|
top: 60px;
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
pnx-viewer[focus="pic"] pnx-widget-legend {
|
|
86
|
+
pnx-viewer[focus="pic"] pnx-widget-legend:not([light="true"]) {
|
|
87
87
|
top: 10px;
|
|
88
88
|
}
|
|
89
89
|
}
|
|
@@ -11,6 +11,7 @@ import { faTriangleExclamation } from "@fortawesome/free-solid-svg-icons/faTrian
|
|
|
11
11
|
import { faShareNodes } from "@fortawesome/free-solid-svg-icons/faShareNodes";
|
|
12
12
|
import { placeholder, panel, hidden } from "../styles";
|
|
13
13
|
import { reverseGeocodingNominatim } from "../../utils/geocoder";
|
|
14
|
+
import { PanoramaxMetaCatalogURL } from "../../utils/services";
|
|
14
15
|
|
|
15
16
|
/**
|
|
16
17
|
* Picture legend shows info about picture author, capture date, address, and access to metadata popup.
|
|
@@ -229,7 +230,7 @@ export default class PictureLegend extends LitElement {
|
|
|
229
230
|
return html`<div class="pnx-picture-legend-light">
|
|
230
231
|
${this._caption.producer?.length > 0 ? html`
|
|
231
232
|
<a
|
|
232
|
-
href=${
|
|
233
|
+
href=${PanoramaxMetaCatalogURL()+"/?pic="+this._parent.psv.getPictureMetadata().id}
|
|
233
234
|
target="_blank"
|
|
234
235
|
title=${this._parent?._t.pnx.share_page}
|
|
235
236
|
>${this._caption.producer[this._caption.producer.length-1]}</a>
|