Open 1995hanjian opened 2 years ago
脑图视图只有单个子项的分支也有一下问题, 不过可能不太好优化, 先一块记录了吧
脑图视图只有单个子项的分支也有一下问题, 不过可能不太好优化, 先一块记录了吧
鼓捣了一阵子,这个方案好像可行。。。
.protyle-content *[custom-type~=table] [data-node-id].list,
.protyle-content *[custom-type~=表格] [data-node-id].list,
.protyle-content *[custom-type~=table] [data-node-id].li,
.protyle-content *[custom-type~=表格] [data-node-id].li {
border: 0;
padding: 0;
margin: 0 !important;
height: 100%;
outline: 0px solid var(--b3-theme-on-surface);
box-shadow: -0.5px 0px 0px 0px var(--b3-theme-on-surface), 0.5px 0px 0px 0px var(--b3-theme-on-surface),0px 0px 0px 0px var(--b3-theme-on-surface),0px 0.5px 0px 0px var(--b3-theme-on-surface);
}
.protyle-content *[custom-type~=table]>.li:first-child,
.protyle-content *[custom-type~=表格]>.li:first-child {
box-shadow: -0.5px 0px 0px 0px var(--b3-theme-on-surface), 0.5px 0px 0px 0px var(--b3-theme-on-surface),0px -0.5px 0px 0px var(--b3-theme-on-surface),0px 0.5px 0px 0px var(--b3-theme-on-surface);
}
一个很细节的事情, 中间的横线是2px,顶端或者底端的横线是1px 竖线就没什么问题~