From b0cd967ae6d50490a129d9978c7d1b59a2227eb3 Mon Sep 17 00:00:00 2001 From: jeffvli Date: Mon, 19 Dec 2022 16:12:57 -0800 Subject: [PATCH] Adjust styles and remove subsonic server option --- src/renderer/features/servers/components/add-server-form.tsx | 5 ++--- src/renderer/features/servers/components/server-list.tsx | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/renderer/features/servers/components/add-server-form.tsx b/src/renderer/features/servers/components/add-server-form.tsx index e94ce894..f2af3ff3 100644 --- a/src/renderer/features/servers/components/add-server-form.tsx +++ b/src/renderer/features/servers/components/add-server-form.tsx @@ -1,6 +1,6 @@ import { useState } from 'react'; import { Stack, Group, Checkbox } from '@mantine/core'; -import { Button, PasswordInput, SegmentedControl, TextInput } from '/@/renderer/components'; +import { Button, PasswordInput, SegmentedControl, TextInput, toast } from '/@/renderer/components'; import { useForm } from '@mantine/form'; import { useFocusTrap } from '@mantine/hooks'; import { closeAllModals } from '@mantine/modals'; @@ -9,14 +9,13 @@ import { jellyfinApi } from '/@/renderer/api/jellyfin.api'; import { navidromeApi } from '/@/renderer/api/navidrome.api'; import { subsonicApi } from '/@/renderer/api/subsonic.api'; import { AuthenticationResponse } from '/@/renderer/api/types'; -import { toast } from '/@/renderer/components'; import { useAuthStoreActions } from '/@/renderer/store'; import { ServerType } from '/@/renderer/types'; const SERVER_TYPES = [ { label: 'Jellyfin', value: ServerType.JELLYFIN }, { label: 'Navidrome', value: ServerType.NAVIDROME }, - { label: 'Subsonic', value: ServerType.SUBSONIC }, + // { label: 'Subsonic', value: ServerType.SUBSONIC }, ]; const AUTH_FUNCTIONS = { diff --git a/src/renderer/features/servers/components/server-list.tsx b/src/renderer/features/servers/components/server-list.tsx index ba45df45..897718c9 100644 --- a/src/renderer/features/servers/components/server-list.tsx +++ b/src/renderer/features/servers/components/server-list.tsx @@ -30,7 +30,7 @@ export const ServerList = () => { sx={{ position: 'absolute', right: 55, - transform: 'translateY(-4rem)', + transform: 'translateY(-4.5rem)', }} >