Runs yarn format

This commit is contained in:
Henry Wilkinson 2023-05-01 15:33:17 -04:00
parent c359589024
commit bddbe35315
2 changed files with 10 additions and 11 deletions

View File

@ -121,11 +121,11 @@ export class CrawlStatus extends LitElement {
} }
case "partial_complete": { case "partial_complete": {
icon = html`<sl-icon icon = html`<sl-icon
name="dash-circle" name="dash-circle"
slot="prefix" slot="prefix"
style="color: var(--warning)" style="color: var(--warning)"
></sl-icon>`; ></sl-icon>`;
label = msg("Partial Complete"); label = msg("Partial Complete");
break; break;
} }

View File

@ -457,7 +457,7 @@ export class CrawlDetail extends LiteElement {
panelContainer = html` panelContainer = html`
<div class="flex-1 rounded-lg border overflow-hidden">${content}</div> <div class="flex-1 rounded-lg border overflow-hidden">${content}</div>
`; `;
break; break;
default: default:
panelContainer = html` panelContainer = html`
<div class="flex-1 rounded-lg border p-5">${content}</div> <div class="flex-1 rounded-lg border p-5">${content}</div>
@ -557,10 +557,7 @@ export class CrawlDetail extends LiteElement {
<!-- https://github.com/webrecorder/browsertrix-crawler/blob/9f541ab011e8e4bccf8de5bd7dc59b632c694bab/screencast/index.html --> <!-- https://github.com/webrecorder/browsertrix-crawler/blob/9f541ab011e8e4bccf8de5bd7dc59b632c694bab/screencast/index.html -->
${ ${
canReplay canReplay
? html`<div ? html`<div id="replay-crawl" class="aspect-4/3 overflow-hidden">
id="replay-crawl"
class="aspect-4/3 overflow-hidden"
>
<replay-web-page <replay-web-page
source="${replaySource}" source="${replaySource}"
coll="${ifDefined(this.crawl?.id)}" coll="${ifDefined(this.crawl?.id)}"
@ -718,8 +715,8 @@ ${this.crawl?.notes}
> >
<div class="whitespace-nowrap truncate flex items-center"> <div class="whitespace-nowrap truncate flex items-center">
<sl-icon <sl-icon
name="file-earmark-zip-fill" name="file-earmark-zip-fill"
class="h-4 pr-2 shrink-0 text-neutral-600" class="h-4 pr-2 shrink-0 text-neutral-600"
></sl-icon> ></sl-icon>
<a <a
class="text-primary hover:underline" class="text-primary hover:underline"
@ -729,7 +726,9 @@ ${this.crawl?.notes}
>${file.name.slice(file.name.lastIndexOf("/") + 1)} >${file.name.slice(file.name.lastIndexOf("/") + 1)}
</a> </a>
</div> </div>
<div class="whitespace-nowrap text-sm font-mono text-neutral-400"> <div
class="whitespace-nowrap text-sm font-mono text-neutral-400"
>
<sl-format-bytes value=${file.size}></sl-format-bytes> <sl-format-bytes value=${file.size}></sl-format-bytes>
</div> </div>
</li> </li>