Comments (7)
了解,后续看看怎么优化
from notion-theme.
样式微调了一下,列表官方没有对齐,后面再考虑吧
from notion-theme.
siyuan-note/siyuan#6266 (comment)
默认主题的引述块存在 padding 和 border,除非移除这些样式,否则没有办法对齐。
似乎可以通过设置data-type="NodeBlockEmbed"的padding-left=0来实现对齐块引用的对齐?
调节之前:
调节之后:
from notion-theme.
但上述情况仅适用于 主页面 下的独立嵌入块(意会一下?)
对于列表项内部的嵌入块,不改这个padding-left=4是正确的
改了反而不对了
可以通过判断这个element的parent是否含有 data-doc-type="NodeDocument" 来决定是否进行padding-left=0的设置
from notion-theme.
padding-left:2px;
试试
from notion-theme.
padding-left:2px;
试试
2的话,对的还不是很完美
from notion-theme.
我这边有对齐。。算了,不挣扎了
from notion-theme.
Related Issues (20)
- 菜单高度问题 HOT 1
- 数据库筛选中的单选多选样式问题 HOT 1
- 侧栏按钮配色问题 HOT 2
- 搜索里的标签没有井号 HOT 1
- 分屏后顶部菜单失效 HOT 1
- 反链提及的一点问题 HOT 1
- 顶栏合并时插件与展开插件两键重叠 HOT 1
- 侧栏按钮配色问题 HOT 1
- 新版本左右分屏情况下,右上角标签和系统按钮重叠 HOT 2
- 黑色的侧栏按钮不好看 HOT 1
- 分屏时,PDF 打开侧栏后无法拖拽页面宽度 HOT 1
- 钉住的页签和普通页签的高度不一致 HOT 1
- 折叠状态下的列表块会显示#### HOT 3
- 启动时先显示默认配色,再显示设置的配色 HOT 1
- 顶栏合并状态下,插件按钮区域能否默认展开 HOT 1
- [BUG] 页签和插件较多,插件会被页签遮挡 HOT 1
- 列表项中的嵌套引述块异常缩进 HOT 1
- v3.1.4 有可能需要适配代码块样式 HOT 3
- 导图优化建议
- 新窗口按钮重叠
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from notion-theme.