Skip to content

Commit

Permalink
调整文件列表树状线样式间距
Browse files Browse the repository at this point in the history
  • Loading branch information
cayxc committed Feb 14, 2025
1 parent b1bfc68 commit d7d7231
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 9 deletions.
9 changes: 6 additions & 3 deletions mdmdt-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -1280,7 +1280,7 @@ p:has( + .md-math-block) {
}

.file-node-expanded > .file-node-children {
margin-left: 29px;
margin-left: 30px;
}
.file-tree-node > .file-node-background {
border-radius: 5px;
Expand Down Expand Up @@ -1324,6 +1324,9 @@ p:has( + .md-math-block) {
#file-library-tree .file-tree-node {
position: relative;
}
.file-node-expanded>.file-node-content .fa-caret-down{
margin-right: 1px;
}
#file-library-tree .file-tree-node .file-node-icon{
padding-left: 3px;
}
Expand Down Expand Up @@ -1377,7 +1380,7 @@ p:has( + .md-math-block) {
width: 12px;
}
.os-windows #file-library-tree .file-node-collapsed > .file-node-content > .file-node-icon::after{
top: 15px;
top: 14px;
}
#file-library-tree .file-node-children > div:last-of-type > .file-node-content > .file-node-icon::after{
border-top: none;
Expand All @@ -1386,7 +1389,7 @@ p:has( + .md-math-block) {
top: -1px;
}
.os-windows #file-library-tree .file-node-children > div:last-of-type > .file-node-content > .file-node-icon::after{
top: 0;
top: -1px;
}
#file-library-tree .file-node-children > div:last-of-type > .file-node-content::before{
height: 16px;
Expand Down
9 changes: 6 additions & 3 deletions mdmdt-light.css
Original file line number Diff line number Diff line change
Expand Up @@ -1282,7 +1282,7 @@ p:has( + .md-math-block) {
}

.file-node-expanded > .file-node-children {
margin-left: 29px;
margin-left: 30px;
}
.file-tree-node > .file-node-background {
border-radius: 5px;
Expand Down Expand Up @@ -1326,6 +1326,9 @@ p:has( + .md-math-block) {
#file-library-tree .file-tree-node {
position: relative;
}
.file-node-expanded>.file-node-content .fa-caret-down{
margin-right: 1px;
}
#file-library-tree .file-tree-node .file-node-icon {
padding-left: 3px;
}
Expand Down Expand Up @@ -1379,7 +1382,7 @@ p:has( + .md-math-block) {
width: 12px;
}
.os-windows #file-library-tree .file-node-collapsed > .file-node-content > .file-node-icon::after {
top: 15px;
top: 14px;
}
#file-library-tree .file-node-children > div:last-of-type > .file-node-content > .file-node-icon::after {
border-top: none;
Expand All @@ -1388,7 +1391,7 @@ p:has( + .md-math-block) {
top: -1px;
}
.os-windows #file-library-tree .file-node-children > div:last-of-type > .file-node-content > .file-node-icon::after {
top: 0;
top: -1px;
}
#file-library-tree .file-node-children > div:last-of-type > .file-node-content::before {
height: 16px;
Expand Down
9 changes: 6 additions & 3 deletions mdmdt.css
Original file line number Diff line number Diff line change
Expand Up @@ -1282,7 +1282,7 @@ p:has( + .md-math-block) {
}

.file-node-expanded > .file-node-children {
margin-left: 29px;
margin-left: 30px;
}
.file-tree-node > .file-node-background {
border-radius: 5px;
Expand Down Expand Up @@ -1326,6 +1326,9 @@ p:has( + .md-math-block) {
#file-library-tree .file-tree-node {
position: relative;
}
.file-node-expanded>.file-node-content .fa-caret-down{
margin-right: 1px;
}
#file-library-tree .file-tree-node .file-node-icon {
padding-left: 3px;
}
Expand Down Expand Up @@ -1379,7 +1382,7 @@ p:has( + .md-math-block) {
width: 12px;
}
.os-windows #file-library-tree .file-node-collapsed > .file-node-content > .file-node-icon::after {
top: 15px;
top: 14px;
}
#file-library-tree .file-node-children > div:last-of-type > .file-node-content > .file-node-icon::after {
border-top: none;
Expand All @@ -1388,7 +1391,7 @@ p:has( + .md-math-block) {
top: -1px;
}
.os-windows #file-library-tree .file-node-children > div:last-of-type > .file-node-content > .file-node-icon::after {
top: 0;
top: -1px;
}
#file-library-tree .file-node-children > div:last-of-type > .file-node-content::before {
height: 16px;
Expand Down

0 comments on commit d7d7231

Please sign in to comment.