#2080 results details

This commit is contained in:
2023-06-18 21:49:39 +02:00
parent 541f4df2d4
commit 4f6fad21e3
3 changed files with 18 additions and 14 deletions
+11 -7
View File
@@ -1401,19 +1401,23 @@ footer[role="tools"]{
@include accordeon-transition($list-item-h * 3);
>header{
>*{
padding:0 0 5px;
// padding:0 0 5px;
// line-height: $base-line / 2;
&.v-select{
padding-top:5px;
}
}
.search-keys{
font-size: 0.756em;
font-weight: 500;
}
.results-count{
font-size: 0.756em;
div.results-details{
line-height: $base-line * 0.5;
.search-keys{
font-size: 0.756em;
font-weight: 500;
}
.results-count{
white-space:nowrap;
font-size: 0.756em;
}
}
}
.results-list{
+3 -3
View File
@@ -191,9 +191,9 @@ export default {
id: this.editionid,
textid: this.item.uuid,
title: this.item.title,
editionTitle: this.editionTitle
// pages: this.item.pages,
// size: this.item.size
editionTitle: this.editionTitle,
pages: this.item.pages,
size: this.item.size
})
this.$emit('onClickTocItem', e.target.getAttribute('uuid'))
},
+4 -4
View File
@@ -8,8 +8,8 @@
>
<header class="small-col-12 med-col-1 large-col-1">
<h2>Resultats</h2>
<div>
<span class="search-keys">{{ searchedKeys }}</span>
<div class="results-details">
<span class="search-keys">{{ searchedKeys }}</span><br>
<span v-if="resultsQuantity" class="results-count">{{ resultsCount }}</span>
</div>
<v-select
@@ -111,7 +111,7 @@ export default {
* above.
*/
const popper = createPopper(component.$refs.toggle, dropdownList, {
placement: 'top',
placement: 'bottom',
modifiers: [
{
name: 'offset',
@@ -124,7 +124,7 @@ export default {
enabled: true,
phase: 'write',
fn ({ state }) {
component.$el.classList.toggle('drop-up', state.placement === 'top')
component.$el.classList.toggle('drop-up', state.placement === 'bottom')
}
}]
})