mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
Fix hover indication
This commit is contained in:
1 parent
93055d8233
commit
5f25a96eac
1 file changed
+19
-15
+19
-15
@@ -4,8 +4,13 @@
|
||||
import { showCreate } from '../store';
|
||||
import type { PageData } from './$types';
|
||||
import { showSubNavigation } from '$lib/stores/layout';
|
||||
import { Icon, Sidebar, Navbar, Layout, Link } from '@appwrite.io/pink-svelte';
|
||||
import { IconChevronDown, IconDatabase, IconTable } from '@appwrite.io/pink-icons-svelte';
|
||||
import { Icon, Sidebar, Navbar, Layout, Link, ActionMenu } from '@appwrite.io/pink-svelte';
|
||||
import {
|
||||
IconChevronDown,
|
||||
IconDatabase,
|
||||
IconPlus,
|
||||
IconTable
|
||||
} from '@appwrite.io/pink-icons-svelte';
|
||||
import { isTabletViewport } from '$lib/stores/viewport';
|
||||
import { BottomSheet } from '$lib/components';
|
||||
|
||||
@@ -63,15 +68,18 @@
|
||||
</ul>
|
||||
{/if}
|
||||
</div>
|
||||
<button
|
||||
class="new-button body-text-2 u-gap-8 u-margin-inline-start-12 u-flex u-cross-center u-margin-block-start-8 is-full-width"
|
||||
on:click={() => {
|
||||
$showCreate = true;
|
||||
$showSubNavigation = false;
|
||||
}}>
|
||||
<span class="icon-plus" aria-hidden="true" />
|
||||
<span class="text">Create collection</span>
|
||||
</button>
|
||||
<div>
|
||||
<ActionMenu.Root>
|
||||
<ActionMenu.Item.Button
|
||||
on:click={() => {
|
||||
$showCreate = true;
|
||||
$showSubNavigation = false;
|
||||
}}
|
||||
leadingIcon={IconPlus}>
|
||||
Create collection
|
||||
</ActionMenu.Item.Button>
|
||||
</ActionMenu.Root>
|
||||
</div>
|
||||
</section>
|
||||
</Sidebar.Base>
|
||||
{:else}
|
||||
@@ -193,10 +201,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
.new-button {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
:global(.sub-navigation header) {
|
||||
top: 48px !important;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user