Skip to content

Commit

Permalink
💄 分割线设置不要占满编辑器宽度
Browse files Browse the repository at this point in the history
  • Loading branch information
Achuan-2 committed May 3, 2024
1 parent 37efe8a commit 68e3467
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## v2.0.7 / 2024.05.03

- ⏪ 还是加回链接图标功能吧,集市的[链接图标]插件好像没有怎么更新维护了
- 💄 分割线设置不要占满编辑器宽度

## v2.0.6 / 2024.04.30
- ✨ 思源笔记预览模式直接复制到微信公众号适配
Expand Down
14 changes: 10 additions & 4 deletions style/editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -760,8 +760,14 @@ li[data-type='navigation-file'] .counter {
/* ------------------------------------行内块字体样式:End-------------------------------------- */
/* --------------------------------------------------------------------------------------------- */

/* 分割线 */
.protyle-wysiwyg [data-node-id].hr > div:after {
height: 2px;
border-radius: 2px;


/* 分割线设置不要占满编辑器宽度 */
.protyle-wysiwyg [data-node-id].hr {
margin: 20px 32%;
}
/* 分割线样式 */
.protyle-wysiwyg [data-node-id].hr>div:after{
height: 1px;
background-color: var(--b3-table-border-color) !important;
}
7 changes: 6 additions & 1 deletion style/export.css
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,12 @@ text-align:center;
border: 1px solid rgb(224 239 249);
border-radius: 7px !important;
}

/* 分割线 */
.b3-typography hr {
border: 0;
border-bottom: 1px solid #d1d3d6;
margin: 21px 213px;
}
/* ---------------------------------------导出pdf-----------------------------------*/


Expand Down

0 comments on commit 68e3467

Please sign in to comment.