fix some styles, add some cn translations

This commit is contained in:
Jin 2024-09-03 19:12:24 +02:00
parent 58ee801e57
commit 8c97f0bec7
5 changed files with 7 additions and 9 deletions

View File

@ -11,7 +11,7 @@ const TPL = `
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="${t('help.close')}"></button>
</div>
<div class="modal-body" style="overflow: auto; height: calc(100vh - 70px);">
<div class="card-columns help-cards">
<div class="help-cards row row-cols-3 g-3">
<div class="card">
<div class="card-body">
<h5 class="card-title">${t('help.noteNavigation')}</h5>

View File

@ -28,7 +28,6 @@ const TPL = `<div class="highlights-list-widget">
cursor: pointer;
margin-bottom: 3px;
text-align: justify;
text-justify: distribute;
word-wrap: break-word;
hyphens: auto;
}

View File

@ -40,7 +40,6 @@ const TPL = `<div class="toc-widget">
.toc li {
cursor: pointer;
text-align: justify;
text-justify: distribute;
word-wrap: break-word;
hyphens: auto;
}

View File

@ -473,7 +473,7 @@ table.promoted-attributes-in-tooltip td, table.promoted-attributes-in-tooltip th
border-top-color: var(--tooltip-background-color) !important;
}
.note-tooltip.tooltip .arrow {
.note-tooltip.tooltip .tooltip-arrow {
display: none;
}

View File

@ -1101,11 +1101,11 @@
"highlights_list": {
"title": "高亮列表",
"description": "您可以自定义右侧面板中显示的高亮列表:",
"bold": "",
"italic": "",
"underline": "",
"color": "",
"bg_color": "",
"bold": "粗体",
"italic": "斜体",
"underline": "下划线",
"color": "字体颜色",
"bg_color": "背景颜色",
"visibility_title": "高亮列表可见性",
"visibility_description": "您可以通过添加 #hideHighlightWidget 标签来隐藏每个笔记的高亮小部件。",
"shortcut_info": "您可以在选项 -> 快捷键中为快速切换右侧面板(包括高亮列表)配置键盘快捷键(名称为 'toggleRightPane')。"