siyuan/app/src/util
Jeffrey Chen d9d48273fb
style: Improve block styles (#13564)
* style: 调整列表项的伪元素竖线高度

* style: 选中嵌入块的高亮覆盖其 border

* style: 代码块 margin 与其他块统一、代码块语言的位置有点难看

* style: 公式块 margin 与其他块统一

* style: iframe 块 margin 与其他块统一

* style: 标题块 margin padding 与其他块统一、标题文本在块内垂直居中

* style: 去除表格块下方多余的空白

* style: 避免标题块高度抖动(空标题块和有内容的标题块高度不一致)

* style: 选中水平布局超级块内的单个块时,高亮范围与超级块保持一致,覆盖 margin

* style: 使用 flex 避免超级块内的相邻子块发生外边距折叠 margin collapsing

* style: 选中水平布局超级块内的单个嵌入块时,高亮范围与超级块保持一致,覆盖 border 和 margin

* style: 添加编辑器字号的基准 CSS 变量 --b3-font-size-editor 供主题或插件使用

比如用 CSS 实现界面字号与编辑器字号同步调整

body > #dockBottom, body > .fn__flex-1 {
    font-size: calc(var(--b3-font-size-editor) - 2px);
}

* style: Improve block styles

* style: 减小列表内的标题块行高
2025-01-29 12:36:20 +08:00
..
addClearButton.ts 🎨 fix https://github.com/siyuan-note/siyuan/issues/11244 2024-05-04 14:45:21 +08:00
assets.ts style: Improve block styles (#13564) 2025-01-29 12:36:20 +08:00
backForward.ts 🎨 https://github.com/siyuan-note/siyuan/issues/13444 2024-12-14 09:58:12 +08:00
escape.ts 🐛 2024-11-22 22:06:01 +08:00
fetch.ts 🐛 搜索为空和非空切换时结果被覆盖 2024-11-12 10:50:53 +08:00
functions.ts 🎨 Support local file system sync & backup (#13663) 2024-12-31 21:06:13 +08:00
genID.ts ❤️ 完整开源界面和内核 https://github.com/siyuan-note/siyuan/issues/5013 2022-05-26 15:18:53 +08:00
genOptions.ts 🎨 Internationalization supports Japanese https://github.com/siyuan-note/siyuan/pull/11212 2024-05-01 16:10:26 +08:00
highlightById.ts 🐛 https://github.com/siyuan-note/siyuan/issues/12679 2024-11-24 17:06:27 +08:00
mount.ts 🎨 https://github.com/siyuan-note/siyuan/issues/11588 2024-05-31 10:37:42 +08:00
needSubscribe.ts 🎨 https://github.com/siyuan-note/siyuan/issues/8780 2024-01-01 23:07:40 +08:00
newFile.ts 🚨 2024-05-27 11:06:54 +08:00
noRelyPCFunction.ts 🎨 https://github.com/siyuan-note/siyuan/issues/11782 2024-10-23 11:47:06 +08:00
pathName.ts 🎨 https://github.com/siyuan-note/siyuan/issues/12335 2024-12-18 01:36:00 +08:00
processMessage.ts 🎨 Support for ignoring the prompt to add Microsoft Defender exclusions https://github.com/siyuan-note/siyuan/issues/13687 2024-12-31 23:46:55 +08:00
serviceWorker.ts 🎨 https://github.com/siyuan-note/siyuan/issues/13780 2025-01-26 09:38:32 +08:00
setPosition.ts 💄 帮助展现位置 2023-01-24 19:36:45 +08:00
Tree.ts 🎨 https://github.com/siyuan-note/siyuan/issues/13791 2025-01-13 12:47:28 +08:00
upDownHint.ts 🎨 fix https://github.com/siyuan-note/siyuan/issues/10829 2024-04-10 22:01:21 +08:00