generated from Seekra/repository-template
Move flexbox to the start page view
This commit is contained in:
@@ -31,11 +31,7 @@ import Footer from './features/footer/components/Footer.vue';
|
|||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.main-content {
|
.main-content {
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
align-items: center;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
gap: 60px;
|
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -33,6 +33,7 @@ const submitSearch = function () {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
<div class="search-content">
|
||||||
<header class="global-header">
|
<header class="global-header">
|
||||||
<h1>Seekra</h1>
|
<h1>Seekra</h1>
|
||||||
<span class="slogan">
|
<span class="slogan">
|
||||||
@@ -43,9 +44,17 @@ const submitSearch = function () {
|
|||||||
<form class="search-form" @submit.prevent="submitSearch">
|
<form class="search-form" @submit.prevent="submitSearch">
|
||||||
<Searchbar v-model="searchQuery" ref="searchbar" />
|
<Searchbar v-model="searchQuery" ref="searchbar" />
|
||||||
</form>
|
</form>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
.search-content {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
gap: 60px;
|
||||||
|
}
|
||||||
|
|
||||||
.global-header {
|
.global-header {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
Reference in New Issue
Block a user