mirror of
https://github.com/laughmaker/Zen.git
synced 2026-07-22 04:00:31 +00:00
修复大纲字体动态变化不对齐的问题
This commit is contained in:
parent
b28df97caf
commit
f0dcf71a02
1 changed files with 6 additions and 4 deletions
10
theme.css
10
theme.css
|
|
@ -544,8 +544,7 @@ body.is-mobile .nav-file-title {
|
|||
|
||||
/* 设置大纲样式 */
|
||||
.workspace-leaf-content[data-type='outline'] .tree-item-self:not(.mod-collapsible) .tree-item-inner {
|
||||
/* background-color: red; */
|
||||
margin-left: -15px;
|
||||
margin-left: -15.5px;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type='outline'] .tree-item-self.mod-collapsible .tree-item-inner {
|
||||
|
|
@ -553,11 +552,14 @@ body.is-mobile .nav-file-title {
|
|||
}
|
||||
|
||||
.workspace-leaf-content[data-type='outline'] .tree-item-self:not(.mod-collapsible) .tree-item-inner::before {
|
||||
/* background-color: aqua; */
|
||||
content: "•";
|
||||
font-weight: bolder;
|
||||
padding-right: 3px;
|
||||
padding-right: 4px;
|
||||
color: var(--nav-collapse-icon-color);
|
||||
font-size: 16px;
|
||||
width: 7px;
|
||||
text-align: center;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue