Skip to content

Commit

Permalink
fix: dashboard (#594)
Browse files Browse the repository at this point in the history
Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>
  • Loading branch information
axel7083 committed Mar 20, 2024
1 parent 3f075b4 commit 07d137b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/frontend/src/lib/Navigation.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ export let meta: TinroRouteMeta;
class="z-1 w-leftsidebar min-w-leftsidebar shadow flex-col justify-between flex transition-all duration-500 ease-in-out bg-charcoal-800"
aria-label="PreferencesNavigation">
<div class="flex items-center">
<div class="pt-4 px-5 mb-10 flex items-center">
<a href="/" title="Navigate to dashboard" class="pt-4 px-5 mb-10 flex items-center">
<Fa size="1.5x" class="text-purple-500 cursor-pointer mr-4" icon="{faBrain}" />
<p class="text-xl first-letter:uppercase">AI Studio</p>
</div>
</a>
</div>
<div class="h-full overflow-hidden hover:overflow-y-auto" style="margin-bottom:auto">
<SettingsNavItem title="Recipe Catalog" href="/recipes" bind:meta="{meta}" />
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/src/pages/Dashboard.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { getDashboardContent } from './dashboard';

<NavPage searchEnabled="{false}" title="Dashboard">
<div slot="content" class="flex flex-col min-w-full h-fit">
<div class="min-w-full flex-1" aria-label="inner-content">
<div class="min-w-full flex-1 px-5 pt-5" aria-label="inner-content">
<MarkdownRenderer source="{getDashboardContent()}" />
</div>
</div>
Expand Down

0 comments on commit 07d137b

Please sign in to comment.