embeds: tweak no service-worker error message, update to latest wabac/sw
This commit is contained in:
+6
-3
@@ -142,7 +142,9 @@ class Embed extends LitElement
|
|||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
.full-width {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
iframe {
|
iframe {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
@@ -164,13 +166,14 @@ class Embed extends LitElement
|
|||||||
` : html``}
|
` : html``}
|
||||||
|
|
||||||
${this.noSW ? html`
|
${this.noSW ? html`
|
||||||
<section class="">
|
<section class="full-width">
|
||||||
<div class="has-text-centered">
|
<div class="has-text-centered">
|
||||||
<fa-icon class="logo" id="wrlogo" size="2.5rem" .svg=${rwpLogo}></fa-icon>
|
<fa-icon class="logo" id="wrlogo" size="2.5rem" .svg=${rwpLogo}></fa-icon>
|
||||||
</div>
|
</div>
|
||||||
<div class="error">
|
<div class="error">
|
||||||
Sorry, ReplayWeb.page won't work in this browser as Service Workers are not supported.
|
Sorry, ReplayWeb.page won't work in this browser as Service Workers are not supported.
|
||||||
Please try a different browser. (If Using Private Mode in Firefox, try regular mode).
|
Please try a different browser.\n
|
||||||
|
(Service Workers are disabled in Firefox in Private Mode. If Using Private Mode in Firefox, try regular mode).
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
`: ``}`;
|
`: ``}`;
|
||||||
|
|||||||
@@ -292,8 +292,8 @@
|
|||||||
"@xtuc/long" "4.2.2"
|
"@xtuc/long" "4.2.2"
|
||||||
|
|
||||||
"@webrecorder/wabac@github:webrecorder/wabac.js":
|
"@webrecorder/wabac@github:webrecorder/wabac.js":
|
||||||
version "2.0.3-dev.0"
|
version "2.0.3"
|
||||||
resolved "https://codeload.github.com/webrecorder/wabac.js/tar.gz/9f2faa5c6c3d1d62e542485aba65679da6acc741"
|
resolved "https://codeload.github.com/webrecorder/wabac.js/tar.gz/39c73bd44a0d0659d0438cb10a29f46c2d58a671"
|
||||||
dependencies:
|
dependencies:
|
||||||
brotli "github:foliojs/brotli.js"
|
brotli "github:foliojs/brotli.js"
|
||||||
fast-xml-parser "^3.15.1"
|
fast-xml-parser "^3.15.1"
|
||||||
|
|||||||
Reference in New Issue
Block a user