Use ruby tag for frequency disambiguation (#1211)
This commit is contained in:
parent
5b58a9aeef
commit
67d21d4988
@ -1068,6 +1068,10 @@ button.action-button[data-icon=source-term]::before {
|
|||||||
.frequency-disambiguation::after {
|
.frequency-disambiguation::after {
|
||||||
content: ' only) ';
|
content: ' only) ';
|
||||||
}
|
}
|
||||||
|
.frequency-disambiguation-reading {
|
||||||
|
display: inline;
|
||||||
|
font-size: 1em;
|
||||||
|
}
|
||||||
.entry[data-unique-expression-count='1'] .frequency-item[data-has-reading=false] .frequency-disambiguation,
|
.entry[data-unique-expression-count='1'] .frequency-item[data-has-reading=false] .frequency-disambiguation,
|
||||||
.entry[data-unique-reading-count='1'][data-unique-expression-count='1'] .frequency-disambiguation,
|
.entry[data-unique-reading-count='1'][data-unique-expression-count='1'] .frequency-disambiguation,
|
||||||
.frequency-item[data-reading-is-same=true] .frequency-disambiguation-separator,
|
.frequency-item[data-reading-is-same=true] .frequency-disambiguation-separator,
|
||||||
|
@ -57,11 +57,11 @@
|
|||||||
<!-- Frequency templates -->
|
<!-- Frequency templates -->
|
||||||
<template id="frequency-group-item-template"><li class="frequency-group-item"><div class="frequency-tag-list tag-list"></div><ul class="frequency-list"></ul></li></template>
|
<template id="frequency-group-item-template"><li class="frequency-group-item"><div class="frequency-tag-list tag-list"></div><ul class="frequency-list"></ul></li></template>
|
||||||
<template id="term-frequency-item-template" data-remove-whitespace-text="true"><li class="frequency-item" data-frequency-type="term">
|
<template id="term-frequency-item-template" data-remove-whitespace-text="true"><li class="frequency-item" data-frequency-type="term">
|
||||||
<span class="frequency-disambiguation">
|
<ruby class="frequency-disambiguation">
|
||||||
<span class="frequency-disambiguation-expression"></span>
|
<span class="frequency-disambiguation-expression"></span>
|
||||||
<span class="frequency-disambiguation-separator"></span>
|
<span class="frequency-disambiguation-separator"></span>
|
||||||
<span class="frequency-disambiguation-reading"></span>
|
<rt class="frequency-disambiguation-reading"></rt>
|
||||||
</span>
|
</ruby>
|
||||||
<span class="frequency-separator"></span>
|
<span class="frequency-separator"></span>
|
||||||
<span class="frequency-value"></span>
|
<span class="frequency-value"></span>
|
||||||
</li></template>
|
</li></template>
|
||||||
|
Loading…
Reference in New Issue
Block a user