mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
Merge pull request #1647 from appwrite/fix-feedback-navigation-cont-2
Fix feedback navigation cont 2
This commit is contained in:
4 files changed
+15
-16
No files matched your search
@@ -400,7 +400,7 @@
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: var(--space-1, 2px) var(--space-2, 4px);
|
||||
padding: var(--space-1, 2px) var(--space-1, 2px) var(--space-1, 2px) var(--space-3, 6px);
|
||||
gap: var(--space-2, 4px);
|
||||
margin: 0 var(--space-5, 10px) 0 var(--space-5, 10px);
|
||||
|
||||
|
||||
@@ -123,12 +123,12 @@
|
||||
</Layout.Stack>
|
||||
<div class="icons">
|
||||
<Tooltip inline={false}>
|
||||
<Link.Button
|
||||
variant="quiet-muted"
|
||||
<Button.Button
|
||||
variant="text"
|
||||
aria-label="Toggle Command Center"
|
||||
on:click={toggleCommandCenter}>
|
||||
<Icon icon={IconSearch} />
|
||||
</Link.Button>
|
||||
</Button.Button>
|
||||
<span slot="tooltip">{isMac() ? '⌘ + K' : 'Ctrl + K'}</span></Tooltip>
|
||||
</div>
|
||||
<Link.Button
|
||||
@@ -249,7 +249,6 @@
|
||||
|
||||
.right {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--space-9, 24px);
|
||||
|
||||
.icons {
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
];
|
||||
</script>
|
||||
|
||||
<div class:only-mobile={project === undefined}>
|
||||
<div class:only-mobile-tablet={project === undefined}>
|
||||
<Sidebar.Base
|
||||
{...$$props}
|
||||
bind:state
|
||||
@@ -86,17 +86,15 @@
|
||||
<div slot="top">
|
||||
<div class="only-mobile-tablet top">
|
||||
<div class="icons search-icon">
|
||||
<Link.Button
|
||||
variant="quiet-muted"
|
||||
<Button.Button
|
||||
variant="text"
|
||||
on:click={() => {
|
||||
toggleCommandCenter();
|
||||
state = 'closed';
|
||||
sideBarIsOpen = false;
|
||||
}}>
|
||||
<div class="icon">
|
||||
<Icon icon={IconSearch} />
|
||||
</div>
|
||||
</Link.Button>
|
||||
<Icon icon={IconSearch} color="--color-fgcolor-neutral-tertiary" />
|
||||
</Button.Button>
|
||||
</div>
|
||||
<Link.Button
|
||||
on:click={() => {
|
||||
@@ -197,7 +195,7 @@
|
||||
<Layout.Stack direction="column" gap="s">
|
||||
<DropList show={$feedback.show} scrollable on:blur={toggleFeedback}>
|
||||
<Button.Button variant="secondary" size="s" on:click={toggleFeedback}
|
||||
>Feedback
|
||||
><span>Feedback</span>
|
||||
</Button.Button>
|
||||
<svelte:fragment slot="other">
|
||||
<Feedback />
|
||||
@@ -245,7 +243,7 @@
|
||||
variant="secondary"
|
||||
size="s"
|
||||
on:click={toggleFeedback}
|
||||
>Feedback
|
||||
><span>Feedback</span>
|
||||
</Button.Button>
|
||||
<svelte:fragment slot="other">
|
||||
<Feedback />
|
||||
@@ -457,7 +455,7 @@
|
||||
transition: all 0.2s ease-in-out;
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
width: 178px;
|
||||
width: 166px;
|
||||
}
|
||||
.info {
|
||||
position: absolute;
|
||||
|
||||
@@ -31,7 +31,9 @@
|
||||
|
||||
page.subscribe(({ url }) => {
|
||||
$showSubNavigation = url.searchParams.get('openNavbar') === 'true';
|
||||
showContentTransition = !url.pathname.includes('organization');
|
||||
setTimeout(() => {
|
||||
showContentTransition = !url.pathname.includes('organization');
|
||||
}, 1000);
|
||||
});
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user