Skip to content

Commit 34852e1

Browse files
Merge pull request #737 from lcnetdev/nar-search-literal-bug
change rendering flow for diacritic bug
2 parents 6f05b81 + ceed6a5 commit 34852e1

1 file changed

Lines changed: 1 addition & 12 deletions

File tree

src/components/panels/edit/modals/ComplexLookupModal.vue

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1167,14 +1167,7 @@
11671167
Searching...
11681168
</option>
11691169

1170-
<option v-for="(r,idx) in activeComplexSearch" :data-label="r.label" :value="r.uri" v-bind:key="idx" :style="(r.depreciated || r.undifferentiated) ? 'color:red' : ''" class="complex-lookup-result">
1171-
<div :class="['option-text', {unusable: !checkUsable(r)}]">
1172-
<span v-html="generateLabel(r)"></span>
1173-
<span v-if="checkFromAuth(r)" class="from-auth"> (Auth)</span>
1174-
<span v-if="checkFromRda(r)" class="from-rda"> [RDA]</span>
1175-
<span v-if="hasPubDate(r)" class="pub-date"> [{{ hasPubDate(r) }}]</span>
1176-
</div>
1177-
</option>
1170+
<option v-for="(r,idx) in activeComplexSearch" :data-label="r.label" :value="r.uri" v-bind:key="idx" :style="(r.depreciated || r.undifferentiated) ? 'color:red' : ''" class="complex-lookup-result">{{ generateLabel(r) }}{{ checkFromAuth(r) ? ' (Auth)' : '' }}{{ checkFromRda(r) ? ' [RDA]' : '' }}{{ hasPubDate(r) ? ' [' + hasPubDate(r) + ']' : '' }}</option>
11781171

11791172
</select>
11801173
<br>
@@ -1538,10 +1531,6 @@
15381531
outline:none;
15391532
}
15401533
1541-
.complex-lookup-result{
1542-
text-indent: 2em hanging;
1543-
}
1544-
15451534
.complex-lookup-results{
15461535
padding: 0 1em 0 1em;
15471536
height: 73%;

0 commit comments

Comments
 (0)