Merge pull request #551 from webrecorder/css-fixes
This commit is contained in:
commit
28d39121d7
@ -274,7 +274,7 @@ export class ConfigDetails extends LiteElement {
|
|||||||
>`;
|
>`;
|
||||||
}
|
}
|
||||||
return html`
|
return html`
|
||||||
<btrix-desc-list-item label=${label}> ${content} </btrix-desc-list-item>
|
<btrix-desc-list-item label=${label} class="break-all"> ${content} </btrix-desc-list-item>
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -95,7 +95,7 @@ export class CrawlTemplatesDetail extends LiteElement {
|
|||||||
<h2>
|
<h2>
|
||||||
${this.crawlConfig?.name
|
${this.crawlConfig?.name
|
||||||
? html`<span
|
? html`<span
|
||||||
class="inline-block align-middle text-xl leading-10 mr-1"
|
class="inline-block align-middle text-xl font-semibold leading-10 mr-1"
|
||||||
>${this.crawlConfig.name}</span
|
>${this.crawlConfig.name}</span
|
||||||
> `
|
> `
|
||||||
: ""}
|
: ""}
|
||||||
@ -149,7 +149,7 @@ export class CrawlTemplatesDetail extends LiteElement {
|
|||||||
${this.renderLastCrawl()} ${this.renderCurrentlyRunningNotice()}
|
${this.renderLastCrawl()} ${this.renderCurrentlyRunningNotice()}
|
||||||
|
|
||||||
<div class="col-span-1">
|
<div class="col-span-1">
|
||||||
<h3 class="text-lg font-medium text-neutral-700 mb-2">
|
<h3 class="text-lg font-semibold mb-2">
|
||||||
${msg("Crawl Settings")}
|
${msg("Crawl Settings")}
|
||||||
</h3>
|
</h3>
|
||||||
<main class="border rounded-lg py-3 px-5">
|
<main class="border rounded-lg py-3 px-5">
|
||||||
@ -375,7 +375,7 @@ export class CrawlTemplatesDetail extends LiteElement {
|
|||||||
if (!this.crawlConfig?.lastCrawlId) return;
|
if (!this.crawlConfig?.lastCrawlId) return;
|
||||||
return html`
|
return html`
|
||||||
<section class="col-span-1">
|
<section class="col-span-1">
|
||||||
<h3 class="text-lg font-medium text-neutral-700 mb-2">
|
<h3 class="text-lg font-semibold mb-2">
|
||||||
${this.crawlConfig.currCrawlId
|
${this.crawlConfig.currCrawlId
|
||||||
? msg("Last Completed Crawl")
|
? msg("Last Completed Crawl")
|
||||||
: msg("Latest Crawl")}
|
: msg("Latest Crawl")}
|
||||||
|
|||||||
@ -305,7 +305,7 @@ export class CrawlDetail extends LiteElement {
|
|||||||
`;
|
`;
|
||||||
};
|
};
|
||||||
return html`
|
return html`
|
||||||
<nav class="border-b md:border-b-0">
|
<nav class="border-b md:border-b-0 md:mt-10">
|
||||||
<ul class="flex flex-row md:flex-col" role="menu">
|
<ul class="flex flex-row md:flex-col" role="menu">
|
||||||
${renderNavItem({ section: "overview", label: msg("Overview") })}
|
${renderNavItem({ section: "overview", label: msg("Overview") })}
|
||||||
${renderNavItem({
|
${renderNavItem({
|
||||||
@ -330,9 +330,9 @@ export class CrawlDetail extends LiteElement {
|
|||||||
private renderHeader() {
|
private renderHeader() {
|
||||||
return html`
|
return html`
|
||||||
<header class="md:flex justify-between">
|
<header class="md:flex justify-between">
|
||||||
<h2 class="text-xl font-medium mb-3 md:h-8">
|
<h2 class="text-xl font-semibold mb-3 md:h-8">
|
||||||
${msg(
|
${msg(
|
||||||
html`<span class="font-normal">Crawl of</span> ${this.crawl
|
html`${this.crawl
|
||||||
? this.crawl.configName
|
? this.crawl.configName
|
||||||
: html`<sl-skeleton
|
: html`<sl-skeleton
|
||||||
class="inline-block"
|
class="inline-block"
|
||||||
@ -487,7 +487,7 @@ export class CrawlDetail extends LiteElement {
|
|||||||
|
|
||||||
private renderPanel(title: any, content: any) {
|
private renderPanel(title: any, content: any) {
|
||||||
return html`
|
return html`
|
||||||
<h3 class="flex-0 text-lg font-medium mb-2">${title}</h3>
|
<h3 class="flex-0 text-lg font-semibold mb-2">${title}</h3>
|
||||||
<div class="flex-1 rounded-lg border p-5">${content}</div>
|
<div class="flex-1 rounded-lg border p-5">${content}</div>
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -68,7 +68,7 @@ export class OrgSettings extends LiteElement {
|
|||||||
|
|
||||||
render() {
|
render() {
|
||||||
return html`<header class="mb-5">
|
return html`<header class="mb-5">
|
||||||
<h2 class="text-xl leading-10">${msg("Org Settings")}</h2>
|
<h2 class="text-xl font-semibold leading-10">${msg("Org Settings")}</h2>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<btrix-tab-list activePanel=${this.activePanel} ?hideIndicator=${true}>
|
<btrix-tab-list activePanel=${this.activePanel} ?hideIndicator=${true}>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user