diff --git a/src/frontend.js b/src/frontend.js index 3e10ec8..e6be076 100644 --- a/src/frontend.js +++ b/src/frontend.js @@ -51,7 +51,7 @@ class AppMain extends LitElement render() { return html` -
@@ -485,7 +486,7 @@ class WrColl extends LitElement ${this.collInfo.title} - Size: ${prettyBytes(this.collInfo.size || 0)} + Size: ${prettyBytes(Number(this.collInfo.size || 0))}${this.hasCurated ? html` @@ -684,7 +685,7 @@ class WrCuratedPages extends LitElement scrollToList(id) { this.currList = Number(id); this.dispatchEvent(new CustomEvent("coll-tab-nav", {detail: {currList: this.currList || undefined}})); - const opts = {behavior: "smooth", block: "start", inline: "nearest"}; + const opts = {behavior: "smooth", block: "nearest", inline: "nearest"}; this.clickTime = new Date().getTime(); this.renderRoot.getElementById("list-" + this.currList).scrollIntoView(opts); } @@ -874,7 +875,7 @@ class WrResources extends LitElement width: 100%; } .main-scroll { - max-height: calc(100vh - 295px); + max-height: calc(100vh - 255px); width: 100vw; } table { @@ -1166,8 +1167,7 @@ class WrFaIcon extends LitElement const styles = {width: this.size, height: this.size}; - return html``; - //return html`${unsafeSVG(this.svg)}`; + return html``; } }