mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-29 02:00:31 +08:00
Revert "Add a little explainer to the Online/Offline button"
This reverts commit 301d8a6b7c.
This commit is contained in:
@@ -172,7 +172,7 @@
|
||||
}}
|
||||
hideSidebar
|
||||
styleSecondColumnOverflow="visible"
|
||||
{config}>
|
||||
publicKey={config.publicKey}>
|
||||
{#snippet headerCenter()}
|
||||
<CopyableId id={config.publicKey} />
|
||||
{/snippet}
|
||||
|
||||
@@ -106,7 +106,10 @@
|
||||
}
|
||||
</style>
|
||||
|
||||
<Layout hideSidebar styleSecondColumnOverflow="visible" {config}>
|
||||
<Layout
|
||||
hideSidebar
|
||||
styleSecondColumnOverflow="visible"
|
||||
publicKey={config.publicKey}>
|
||||
{#snippet headerCenter()}
|
||||
<CopyableId id={config.publicKey} />
|
||||
{/snippet}
|
||||
|
||||
@@ -115,7 +115,7 @@
|
||||
}
|
||||
</style>
|
||||
|
||||
<Layout {config}>
|
||||
<Layout publicKey={config.publicKey}>
|
||||
{#snippet sidebar()}
|
||||
<Sidebar activeTab="issues" rid={repo.rid} />
|
||||
{/snippet}
|
||||
|
||||
@@ -314,7 +314,7 @@
|
||||
}
|
||||
</style>
|
||||
|
||||
<Layout {config}>
|
||||
<Layout publicKey={config.publicKey}>
|
||||
{#snippet headerCenter()}
|
||||
<CopyableId id={issue.id} />
|
||||
{/snippet}
|
||||
|
||||
@@ -84,7 +84,10 @@
|
||||
}
|
||||
</style>
|
||||
|
||||
<Layout hideSidebar styleSecondColumnOverflow="visible" {config}>
|
||||
<Layout
|
||||
hideSidebar
|
||||
styleSecondColumnOverflow="visible"
|
||||
publicKey={config.publicKey}>
|
||||
{#snippet headerCenter()}
|
||||
<CopyableId id={repo.rid} />
|
||||
{/snippet}
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
</script>
|
||||
|
||||
<script lang="ts">
|
||||
import type { Config } from "@bindings/config/Config";
|
||||
import type { Snippet } from "svelte";
|
||||
|
||||
import { onMount } from "svelte";
|
||||
@@ -33,7 +32,7 @@
|
||||
|
||||
interface Props {
|
||||
children: Snippet;
|
||||
config: Config;
|
||||
publicKey: string;
|
||||
headerCenter?: Snippet;
|
||||
secondColumn: Snippet;
|
||||
sidebar?: Snippet;
|
||||
@@ -45,7 +44,7 @@
|
||||
|
||||
const {
|
||||
children,
|
||||
config,
|
||||
publicKey,
|
||||
headerCenter = undefined,
|
||||
secondColumn,
|
||||
sidebar = undefined,
|
||||
@@ -133,7 +132,7 @@
|
||||
|
||||
<div class="layout">
|
||||
<div class="header">
|
||||
<Header {config} center={headerCenter}></Header>
|
||||
<Header {publicKey} center={headerCenter}></Header>
|
||||
</div>
|
||||
|
||||
{#if sidebar}
|
||||
|
||||
@@ -356,7 +356,7 @@
|
||||
</div>
|
||||
{/snippet}
|
||||
|
||||
<Layout loadMoreSecondColumn={loadMoreTeasers} {config}>
|
||||
<Layout loadMoreSecondColumn={loadMoreTeasers} publicKey={config.publicKey}>
|
||||
{#snippet headerCenter()}
|
||||
<CopyableId id={patch.id} />
|
||||
{/snippet}
|
||||
|
||||
@@ -120,7 +120,7 @@
|
||||
{loadMoreContent}
|
||||
hideSidebar
|
||||
styleSecondColumnOverflow="visible"
|
||||
{config}>
|
||||
publicKey={config.publicKey}>
|
||||
{#snippet headerCenter()}
|
||||
<CopyableId id={repo.rid} />
|
||||
{/snippet}
|
||||
|
||||
Reference in New Issue
Block a user