Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/frontend/config/sidebar/docs.topics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -746,6 +746,10 @@ export const docsTopics: StarlightSidebarTopicsUserConfig = {
label: 'Configuration',
slug: 'app-host/configuration',
},
{
label: 'Polyglot AppHost',
slug: 'app-host/polyglot-apphost',
},
{
label: 'Certificate configuration',
slug: 'app-host/certificate-configuration',
Expand Down
8 changes: 5 additions & 3 deletions src/frontend/src/components/PivotSelector.astro
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ type Props = {
options: Option[];
key: string;
title?: string;
marginTop?: number | null;
};

const { options, key, title } = Astro.props;
const { options, key, title, marginTop } = Astro.props;
---

<div class="pivot-container not-content">
Expand Down Expand Up @@ -58,14 +59,14 @@ const { options, key, title } = Astro.props;
</button>
</div>

<style>
<style define:vars={{ marginTop: marginTop !== null && marginTop !== undefined ? `${marginTop}rem` : '0rem' }}>
.pivot-container {
background: var(--sl-color-bg-nav);
border: 1px solid var(--sl-color-gray-5);
border-radius: 0.5rem;
padding: 1rem;
box-shadow: var(--sl-shadow-sm);
margin-top: 0;
margin-top: var(--marginTop);
margin-bottom: 1.5rem;
--pivot-float-x: -50%;
}
Expand All @@ -79,6 +80,7 @@ const { options, key, title } = Astro.props;
box-shadow: var(--sl-shadow-md);
border-color: var(--sl-color-gray-4);
max-width: min(calc(100vw - 2rem), 800px);
margin-top: 0;
width: auto;
opacity: 1;
animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
Expand Down
Loading