diff --git a/frontend/src/components/desc-list.ts b/frontend/src/components/desc-list.ts index 9775099f..3af37ff6 100644 --- a/frontend/src/components/desc-list.ts +++ b/frontend/src/components/desc-list.ts @@ -51,7 +51,7 @@ export class DescList extends LitElement { static styles = css` dl { display: grid; - grid-template-columns: auto; + grid-template-columns: 100%; grid-gap: 1rem; margin: 0; } diff --git a/frontend/src/components/tag.ts b/frontend/src/components/tag.ts index d272b87f..6e175848 100644 --- a/frontend/src/components/tag.ts +++ b/frontend/src/components/tag.ts @@ -14,6 +14,10 @@ export class Tag extends SLTag { static styles = css` ${tagStyles} + :host { + max-width: 100%; + } + .tag { height: var(--tag-height, 1.5rem); background-color: var(--sl-color-blue-100); diff --git a/frontend/src/pages/org/crawl-detail.ts b/frontend/src/pages/org/crawl-detail.ts index 8d26086b..0755f65d 100644 --- a/frontend/src/pages/org/crawl-detail.ts +++ b/frontend/src/pages/org/crawl-detail.ts @@ -4,6 +4,7 @@ import { when } from "lit/directives/when.js"; import { ifDefined } from "lit/directives/if-defined.js"; import { msg, localized, str } from "@lit/localize"; import { serialize } from "@shoelace-style/shoelace/dist/utilities/form.js"; +import type { SlTextarea } from "@shoelace-style/shoelace"; import Fuse from "fuse.js"; import type { @@ -29,6 +30,7 @@ const SECTIONS = [ type SectionName = typeof SECTIONS[number]; const POLL_INTERVAL_SECONDS = 10; +const CRAWL_NOTES_MAXLENGTH = 500; /** * Usage: @@ -209,15 +211,16 @@ export class CrawlDetail extends LiteElement { ${this.renderPanel( html`
+${this.crawl?.notes}
+ `,
+ () => noneText
+ ),
+ () => html`