fix: make menu focus not be balls
This commit is contained in:
14 files changed
+114
-99
No files matched your search
@@ -16,7 +16,7 @@ export async function load({ params, fetch }) {
|
||||
|
||||
const split = comment.comment_view.comment.path.split('.')
|
||||
|
||||
const threadPath = split.slice(-5).join('.')
|
||||
const threadPath = split.slice(-2).join('.')
|
||||
|
||||
redirect(
|
||||
302,
|
||||
|
||||
@@ -9,22 +9,24 @@
|
||||
|
||||
<Header pageHeader>
|
||||
{$t('nav.create.label')}
|
||||
{#snippet extended()}
|
||||
{#if !site || !site.data?.site_view.local_site.community_creation_admin_only}
|
||||
<Tabs
|
||||
margin={false}
|
||||
style="subpage"
|
||||
routes={[
|
||||
{
|
||||
href: '/create/post',
|
||||
name: $t('nav.create.post'),
|
||||
},
|
||||
{
|
||||
href: '/create/community',
|
||||
name: $t('nav.create.community'),
|
||||
},
|
||||
]}
|
||||
/>
|
||||
{/if}
|
||||
{/snippet}
|
||||
</Header>
|
||||
|
||||
{#if !site || !site.data?.site_view.local_site.community_creation_admin_only}
|
||||
<Tabs
|
||||
style="subpage"
|
||||
routes={[
|
||||
{
|
||||
href: '/create/post',
|
||||
name: $t('nav.create.post'),
|
||||
},
|
||||
{
|
||||
href: '/create/community',
|
||||
name: $t('nav.create.community'),
|
||||
},
|
||||
]}
|
||||
/>
|
||||
{/if}
|
||||
|
||||
{@render children?.()}
|
||||
@@ -304,7 +304,7 @@
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
<style lang="postcss">
|
||||
<style>
|
||||
@reference '../../style/app.css'
|
||||
|
||||
:global(.table thead tr th) {
|
||||
|
||||
@@ -306,12 +306,12 @@
|
||||
{/await}
|
||||
{#if data.post.value.post_view.counts.comments > 5}
|
||||
<EndPlaceholder>
|
||||
<span class="text-black dark:text-white font-bold">
|
||||
{data.post.value.post_view.counts.comments}
|
||||
</span>
|
||||
{$t('routes.post.commentCount')}
|
||||
|
||||
{#snippet action()}
|
||||
<span class="text-black dark:text-white font-bold">
|
||||
{data.post.value.post_view.counts.comments}
|
||||
</span>
|
||||
<Button
|
||||
color="tertiary"
|
||||
onclick={() => window.scrollTo({ top: 0, behavior: 'smooth' })}
|
||||
|
||||
Reference in new issue
Block a user