improve responsiveness
This commit is contained in:
parent
fab03fac0c
commit
636324deea
4 changed files with 7 additions and 5 deletions
|
@ -26,7 +26,7 @@ onMounted (async () => {
|
|||
</div>
|
||||
</header>
|
||||
|
||||
<main class="max-w-5xl m-auto">
|
||||
<main class="flex flex-col">
|
||||
<RouterView>
|
||||
</RouterView>
|
||||
</main>
|
||||
|
|
|
@ -3,5 +3,7 @@ import TheSearch from '@/components/TheSearch.vue';
|
|||
</script>
|
||||
|
||||
<template>
|
||||
<div class="w-screen bg-background-100 dark:bg-background-900 p-2">
|
||||
<TheSearch />
|
||||
</div>
|
||||
</template>
|
|
@ -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
|
||||
|
|
|
@ -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>
|
Loading…
Reference in a new issue