better search ui

This commit is contained in:
Bachir Soussi Chiadmi 2023-08-18 19:47:16 +02:00
parent c7b71e5530
commit e256733c94
2 changed files with 58 additions and 43 deletions

View File

@ -487,10 +487,13 @@ body{
section.search{ section.search{
@include main-cartouche(); @include main-cartouche();
header{
flex: 0 0 auto;
padding: 1em 0;
h2{ h2{
font-weight: 400; font-weight: 400;
font-size: 1.323em; font-size: 1.323em;
padding: 1em 0; padding: 0 0 0.5em;
} }
form{ form{
@ -511,7 +514,11 @@ body{
} }
} }
} }
}
main{
flex: 1 1 auto;
overflow-y: auto;
section.results{ section.results{
ul{ ul{
margin:0; margin:0;
@ -542,6 +549,13 @@ body{
} }
} }
}
footer{
flex: 0 0 auto;
}
} }
&.recit-opened { &.recit-opened {
padding-bottom: 3rem; padding-bottom: 3rem;

View File

@ -24,6 +24,7 @@ export default {
}, },
created () { created () {
console.log("search created"); console.log("search created");
this.value = this.keys;
this.content_type = this.contentTypeFilter; this.content_type = this.contentTypeFilter;
}, },
watch: { watch: {
@ -88,11 +89,11 @@ export default {
</section> </section>
<select name="bourgeons" id="content-type-select"> <!-- <select name="bourgeons" id="content-type-select">
<option value="all">Bourgeon</option> <option value="all">Bourgeon</option>
<option value="bourgeon1">Bourgeon1</option> <option value="bourgeon1">Bourgeon1</option>
<option value="bourgeon2">Bourgeon2</option> <option value="bourgeon2">Bourgeon2</option>
</select> </select> -->
<input type="submit" value="rechercher"> <input type="submit" value="rechercher">
</form> </form>