Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无序列表转表格,表格边框粗细问题 #20

Open
Tracked by #21
1995hanjian opened this issue Apr 20, 2022 · 2 comments
Open
Tracked by #21

无序列表转表格,表格边框粗细问题 #20

1995hanjian opened this issue Apr 20, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@1995hanjian
Copy link

image

一个很细节的事情,
中间的横线是2px,顶端或者底端的横线是1px
竖线就没什么问题~

@Zuoqiu-Yingyi
Copy link
Owner

脑图视图只有单个子项的分支也有一下问题, 不过可能不太好优化, 先一块记录了吧

@1995hanjian
Copy link
Author

1995hanjian commented Apr 20, 2022

脑图视图只有单个子项的分支也有一下问题, 不过可能不太好优化, 先一块记录了吧

鼓捣了一阵子,这个方案好像可行。。。

.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);
}

@Zuoqiu-Yingyi Zuoqiu-Yingyi added the bug Something isn't working label Apr 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants