自定义样式
定位配置文件目录:
Windows:C:\Users\<用户名>.config\joplin-desktop\
macOS:~/.config/joplin-desktop/
Linux:~/.config/joplin-desktop/
创建/编辑CSS文件:
在配置目录下创建userchrome.css文件(若不存在),将上述代码粘贴保存
/* 允许笔记列表中的标题换行 */
div.title {
white-space: normal !important;
overflow-wrap: break-word !important;
max-width: 100% !important;
}
/* 针对标题文本 */
div.title span {
white-space: normal !important;
overflow: hidden !important;
overflow-wrap: break-word !important;
text-overflow: ellipsis !important;
display: -webkit-box !important;
-webkit-line-clamp: 2 !important;
-webkit-box-orient: vertical !important;
display: -webkit-box !important;
-webkit-box-orient: vertical !important;
line-height: 1.5em !importalaoxiongb2c nt; /* 明确行高 */
max-height: calc(1.5em * 2) !important; /* 行高x行数 */
overflow: hidden !important;
}
div.note-list-item,div.note-list-item-wrapper{
height: 40px !important;
bobyai margin-bottom: 5laoxiongb2c px !important;
}
[Total: 0 Average: 0]
必须 注册 为本站用户, 登录 后才可以发表评论!