Skip to content
Snippets Groups Projects
Commit 2debbafa authored by Ole Voldsæter's avatar Ole Voldsæter
Browse files

ryddet opp i CSS

parent 627ca164
No related branches found
No related tags found
No related merge requests found
......@@ -418,34 +418,6 @@ div.monthly article.nob .dict-label::before {
color: #FDF4F5;
}
.show {
display: block;
}
.hide {
display: none;
}
.autocomplete {
width: 25em;
border-bottom: solid #BC477B;
border-radius: 0px;
}
.autocomplete-input {
border-radius: 0px;
background-color: #FFFFFF;
}
.autocomplete-result-list {
max-height: 500px;
}
.lang-select-intro {
font-size: smaller;
font-weight: bold;
}
footer {
font-size: smaller;
display: table;
......
<template>
<v-autocomplete
v-model="select"
:loading="loading"
:items="items"
:search-input.sync="search"
item-text="label"
:menu-props="{maxHeight: 500, transition: 'fade-transition'}"
prepend-inner-icon="search"
append-icon="undefined"
return-object
hide-no-data
no-filter
hide-details
label="Søk..."
solo
auto-select-first
placeholder="Søk..."
ref="autocomplete"
color="rgb(188, 71, 123)"
dense
>
<template v-slot:item="data">
<span class="search-hit">{{data.item.label}} </span> ({{data.item.lang_set ? Array.from(data.item.lang_set).sort().join(', ') : 'fritekstsøk'}})
</template>
</v-autocomplete>
<div class="autocomplete-container">
<v-autocomplete
v-model="select"
:loading="loading"
:items="items"
:search-input.sync="search"
item-text="label"
:menu-props="{maxHeight: 500, transition: 'fade-transition'}"
prepend-inner-icon="search"
append-icon="undefined"
return-object
hide-no-data
no-filter
hide-details
label="Søk..."
solo
auto-select-first
placeholder="Søk..."
ref="autocomplete"
color="rgb(188, 71, 123)"
dense
>
<template v-slot:item="data">
<span class="search-hit">{{data.item.label}} </span> ({{data.item.lang_set ? Array.from(data.item.lang_set).sort().join(', ') : 'fritekstsøk'}})
</template>
</v-autocomplete>
</div>
</template>
<script>
......@@ -101,4 +103,8 @@
font-weight: bold;
margin-right: 5px;
}
.autocomplete-container {
max-width: 500px;
}
</style>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment