improve responsiveness

This commit is contained in:
Vri 🌈 2023-07-06 18:47:00 +02:00
parent fab03fac0c
commit 636324deea
Signed by: vrifox
GPG key ID: D40098E5B60B2197
4 changed files with 7 additions and 5 deletions

View file

@ -26,7 +26,7 @@ onMounted (async () => {
</div>
</header>
<main class="max-w-5xl m-auto">
<main class="flex flex-col">
<RouterView>
</RouterView>
</main>

View file

@ -3,5 +3,7 @@ import TheSearch from '@/components/TheSearch.vue';
</script>
<template>
<TheSearch />
<div class="w-screen bg-background-100 dark:bg-background-900 p-2">
<TheSearch />
</div>
</template>

View file

@ -10,7 +10,7 @@ onUpdated(() => updateSearch(searchValue, searchType));
</script>
<template>
<form class="sticky top-2 flex flex-row place-content-center m-2">
<form class="sticky top-2 flex flex-row place-content-center">
<label class="hidden" for="searchBar">Suche</label>
<div class="flex flex-row w-full max-w-5xl gap-2">
<input

View file

@ -7,9 +7,9 @@ import SearchBar from '@/components/SearchBar.vue'
<template>
<SearchBar />
<div
class="flex flex-row"
class="flex flex-row place-content-center xl:w-3/4 place-self-center"
>
<FilterSidebar />
<TopicList />
<TopicList class="grow" />
</div>
</template>