Skip to content

Commit

Permalink
UX: fix #2310
Browse files Browse the repository at this point in the history
  • Loading branch information
pietervdvn committed Dec 13, 2024
1 parent 22c348a commit a10df88
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/UI/ThemeViewGUI.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,9 @@
import DrawerLeft from "./Base/DrawerLeft.svelte"
import DrawerRight from "./Base/DrawerRight.svelte"
import SearchResults from "./Search/SearchResults.svelte"
import { CloseButton } from "flowbite-svelte"
import Hash from "../Logic/Web/Hash"
import Searchbar from "./Base/Searchbar.svelte"
import ChevronRight from "@babeard/svelte-heroicons/mini/ChevronRight"
import ChevronLeft from "@babeard/svelte-heroicons/solid/ChevronLeft"
import { Drawer } from "flowbite-svelte"
import { linear } from "svelte/easing"
Expand Down Expand Up @@ -201,8 +199,8 @@
</div>
{/if}

<!-- bottom controls -->
<div class="pointer-events-none absolute bottom-0 left-0 mb-4 w-screen">
<!-- bottom controls -->
<div class="flex w-full items-end justify-between px-4">
<div class="flex flex-col">
<If condition={featureSwitches.featureSwitchEnableLogin}>
Expand All @@ -220,7 +218,7 @@
{:else if state.theme.hasPresets()}
✨ <Tr t={Translations.t.general.add.title} />
{:else}
<Tr t={Translations.t.notes.addAComment} />
<Tr t={Translations.t.notes.createNote} />
{/if}
</button>
{/if}
Expand Down

0 comments on commit a10df88

Please sign in to comment.