web/sidebar: fix auto scroll & clean up

This commit is contained in:
wukko 2024-08-25 16:43:24 +06:00
parent a8330b25fa
commit 685f8cb65e
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2
2 changed files with 1 additions and 11 deletions

View file

@ -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>

View file

@ -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;