diff --git a/materialious/src/lib/Thumbnail.svelte b/materialious/src/lib/Thumbnail.svelte index 592141d5..72c43a7e 100644 --- a/materialious/src/lib/Thumbnail.svelte +++ b/materialious/src/lib/Thumbnail.svelte @@ -287,7 +287,7 @@ max-height: 160px; } - @media screen and (max-width: 1000px) { + @media screen and (max-width: 650px) { .thumbnail { max-height: 100%; } diff --git a/materialious/src/routes/+layout.svelte b/materialious/src/routes/+layout.svelte index ed624b62..73d96b7d 100644 --- a/materialious/src/routes/+layout.svelte +++ b/materialious/src/routes/+layout.svelte @@ -2,6 +2,7 @@ import { goto } from '$app/navigation'; import { navigating, page } from '$app/stores'; import { getFeed } from '$lib/Api/index'; + import type { Notification } from '$lib/Api/model'; import Logo from '$lib/Logo.svelte'; import PageLoading from '$lib/PageLoading.svelte'; import Search from '$lib/Search.svelte'; @@ -47,9 +48,6 @@ let currentPage: string | null = ''; activePage.subscribe((page) => (currentPage = page)); - let searchSuggestions = false; - interfaceSearchSuggestions.subscribe((value) => (searchSuggestions = value)); - let sponsorCategoriesList: string[] = []; sponsorBlockCategories.subscribe((value) => (sponsorCategoriesList = value)); @@ -292,7 +290,7 @@ + + -
- -
{#each pages as page} {#if !page.requiresAuth || isLoggedIn} @@ -783,4 +789,10 @@ form { margin: 1em 0; } + + @media screen and (max-width: 650px) { + dialog.right { + width: 100%; + } + }