waibu-maps 2.7.2 → 2.7.3
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.
|
@@ -27,7 +27,7 @@ async function controlNewsticker () {
|
|
|
27
27
|
.at-ticker-label { --at-bg-cl: #f00 }
|
|
28
28
|
.at-ticker-box { font-size: larger; padding-right: 10px }
|
|
29
29
|
.at-ticker-box ul { padding-top: 5px }
|
|
30
|
-
.text-content { max-height: calc(100vh -
|
|
30
|
+
.text-content { max-height: calc(100vh - 450px); overflow-y: auto }
|
|
31
31
|
`
|
|
32
32
|
|
|
33
33
|
constructor (options) {
|
|
@@ -50,9 +50,9 @@ async function controlNewsticker () {
|
|
|
50
50
|
let rsc = ''
|
|
51
51
|
if (att) {
|
|
52
52
|
if (att.mimeType.startsWith('video')) {
|
|
53
|
-
rsc = '<iframe style="height:
|
|
53
|
+
rsc = '<iframe style="height:250px; width:100%" frameborder="0" allowfullscreen scrolling="no" allow="camera; microphone; fullscreen" src="' + att.url + '"></iframe>'
|
|
54
54
|
} else {
|
|
55
|
-
rsc = '<img style="height:
|
|
55
|
+
rsc = '<img style="height:250px" class="img-fluid" src="' + att.url + '">'
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
const html = '<div class="d-flex border-bottom justify-content-center">' +
|
package/package.json
CHANGED