mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-11-14 23:01:40 +08:00
Improve the layout of the "Word wrapping" checkbox
This commit is contained in:
parent
60426ea487
commit
2459bbf341
@ -27,11 +27,11 @@ const TPL = `
|
||||
<select class="theme-select form-select"></select>
|
||||
</div>
|
||||
|
||||
<div class="col-6">
|
||||
<label>${t("code_block.word_wrapping")}</label>
|
||||
<div class="form-check">
|
||||
<div class="col-6 side-checkbox">
|
||||
<label class="form-check">
|
||||
<input type="checkbox" class="word-wrap form-check-input" />
|
||||
</div>
|
||||
${t("code_block.word_wrapping")}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@ -854,6 +854,14 @@ html .note-detail-editable-text :not(figure, .include-note):first-child {
|
||||
margin-right: 1em;
|
||||
}
|
||||
|
||||
.side-checkbox {
|
||||
display: flex;
|
||||
align-items: end;
|
||||
padding-top: .375rem;
|
||||
padding-bottom: .375rem;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.ck-content .todo-list .todo-list__label > input:before {
|
||||
border: 1px solid var(--muted-text-color) !important;
|
||||
}
|
||||
@ -1220,4 +1228,4 @@ textarea {
|
||||
|
||||
.jump-to-note-results .aa-suggestions {
|
||||
padding: 1rem;
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user