web/sidebar: fix auto scroll & clean up
This commit is contained in:
parent
a8330b25fa
commit
685f8cb65e
2 changed files with 1 additions and 11 deletions
|
@ -11,9 +11,7 @@
|
||||||
|
|
||||||
import IconComet from "@tabler/icons-svelte/IconComet.svelte";
|
import IconComet from "@tabler/icons-svelte/IconComet.svelte";
|
||||||
import IconHeart from "@tabler/icons-svelte/IconHeart.svelte";
|
import IconHeart from "@tabler/icons-svelte/IconHeart.svelte";
|
||||||
import IconTransform from "@tabler/icons-svelte/IconTransform.svelte";
|
|
||||||
import IconInfoCircle from "@tabler/icons-svelte/IconInfoCircle.svelte";
|
import IconInfoCircle from "@tabler/icons-svelte/IconInfoCircle.svelte";
|
||||||
import IconArrowsMinimize from "@tabler/icons-svelte/IconArrowsMinimize.svelte";
|
|
||||||
|
|
||||||
import { defaultSettingsPage } from "$lib/settings/defaults";
|
import { defaultSettingsPage } from "$lib/settings/defaults";
|
||||||
|
|
||||||
|
@ -32,14 +30,6 @@
|
||||||
<SidebarTab tabName="save" tabLink="/">
|
<SidebarTab tabName="save" tabLink="/">
|
||||||
<IconDownload />
|
<IconDownload />
|
||||||
</SidebarTab>
|
</SidebarTab>
|
||||||
<!--
|
|
||||||
<SidebarTab tabName="convert" tabLink="/convert">
|
|
||||||
<IconTransform />
|
|
||||||
</SidebarTab>
|
|
||||||
<SidebarTab tabName="shrink" tabLink="/shrink">
|
|
||||||
<IconArrowsMinimize />
|
|
||||||
</SidebarTab>
|
|
||||||
-->
|
|
||||||
<SidebarTab tabName="remux" tabLink="/remux">
|
<SidebarTab tabName="remux" tabLink="/remux">
|
||||||
<IconRepeat />
|
<IconRepeat />
|
||||||
</SidebarTab>
|
</SidebarTab>
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
export let tabName: string;
|
export let tabName: string;
|
||||||
export let tabLink: string;
|
export let tabLink: string;
|
||||||
|
|
||||||
const firstTabPage = ["save", "remux", "settings", "donate"];
|
const firstTabPage = ["save", "remux", "settings"];
|
||||||
|
|
||||||
let tab: HTMLElement;
|
let tab: HTMLElement;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue