Fix secondary search dictionary options layout (#1654)
This commit is contained in:
parent
289bdc1622
commit
f935623f35
@ -2224,6 +2224,15 @@ input[type=number].dictionary-priority {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Secondary search dictionary settings */
|
||||||
|
.secondary-search-dictionary-list {
|
||||||
|
margin-top: 0.5em;
|
||||||
|
}
|
||||||
|
.secondary-search-dictionary-item {
|
||||||
|
padding: 0.375em 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Generic layouts */
|
/* Generic layouts */
|
||||||
.margin-above {
|
.margin-above {
|
||||||
margin-top: 0.85em;
|
margin-top: 0.85em;
|
||||||
|
@ -2146,7 +2146,7 @@
|
|||||||
These dictionaries will be used to search for definitions of the related terms when the grouping mode is
|
These dictionaries will be used to search for definitions of the related terms when the grouping mode is
|
||||||
<em>Group related terms</em>.
|
<em>Group related terms</em>.
|
||||||
</p>
|
</p>
|
||||||
<div id="secondary-search-dictionary-list" class="dictionary-list margin-above"></div>
|
<div id="secondary-search-dictionary-list" class="secondary-search-dictionary-list"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button data-modal-action="hide">Close</button>
|
<button data-modal-action="hide">Close</button>
|
||||||
@ -2289,14 +2289,10 @@
|
|||||||
<button class="popup-menu-item" data-menu-action="delete">Delete</button>
|
<button class="popup-menu-item" data-menu-action="delete">Delete</button>
|
||||||
</div></div></div></template>
|
</div></div></div></template>
|
||||||
|
|
||||||
<template id="secondary-search-dictionary-template"><div class="settings-item dictionary-item"><div class="settings-item-inner">
|
<template id="secondary-search-dictionary-template"><div class="secondary-search-dictionary-item horizontal-flex">
|
||||||
<div class="settings-item-left">
|
|
||||||
<div class="settings-item-label dictionary-info">
|
|
||||||
<label class="toggle"><input type="checkbox" class="dictionary-allow-secondary-searches"><span class="toggle-body"><span class="toggle-track"></span><span class="toggle-knob"></span></span></label>
|
<label class="toggle"><input type="checkbox" class="dictionary-allow-secondary-searches"><span class="toggle-body"><span class="toggle-track"></span><span class="toggle-knob"></span></span></label>
|
||||||
<span class="dictionary-info-label"><strong class="dictionary-title"></strong> <span class="light dictionary-version"></span></span>
|
<span class="horizontal-flex-fill"><strong class="dictionary-title"></strong> <span class="light dictionary-version"></span></span>
|
||||||
</div>
|
</div></template>
|
||||||
</div>
|
|
||||||
</div></div></template>
|
|
||||||
|
|
||||||
<template id="collapsible-dictionary-item-template"><div class="collapsible-dictionary-item">
|
<template id="collapsible-dictionary-item-template"><div class="collapsible-dictionary-item">
|
||||||
<div class="collapsible-dictionary-cell">
|
<div class="collapsible-dictionary-cell">
|
||||||
|
Loading…
Reference in New Issue
Block a user