Skip to content

Commit

Permalink
🐛 表格现在默认居中,无法根据块标菜单的布局设置居左 #102
Browse files Browse the repository at this point in the history
  • Loading branch information
Achuan-2 committed Mar 8, 2024
1 parent 72767a6 commit 96bae2a
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 22 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## v2.0.0 / 2024.03.08

- 🐛 表格现在默认居中,无法根据块标菜单的布局设置居左

---

- 🐛 Tables are now default to center, cannot be aligned to the left according to the block menu's layout setting

## v1.9.9 / 2024.02.25
- 📝 docs: h1 主题默认居中,如何改为居左
- 💄 ui(database): 自定义属性窗口背景色设置为编辑器背景
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ English | [中文](./README_zh_CN.md)

## 🚀 CHANGLOGS

v2.0.0 / 2024.03.08

- 🐛 Tables are now default to center, cannot be aligned to the left according to the block menu's layout setting

v1.9.9 / 2024.02.25
- 📝 docs: center the h1 theme by default, how to align it to the left
- 💄 ui(database): Set the background color of the custom attribute window to match the editor background
Expand Down
24 changes: 5 additions & 19 deletions README_zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@

## 🚀最近更新


v2.0.0 / 2024.03.08
- 🐛 表格现在默认居中,无法根据块标菜单的布局设置居左


v1.9.9 / 2024.02.25
- 📝 docs: h1 主题默认居中,如何改为居左
- 💄 ui(database): 自定义属性窗口背景色设置为编辑器背景
Expand Down Expand Up @@ -58,25 +63,6 @@ v1.9.4 / 2024.01.16

- 🐛 fix(外观):修复更改列表竖线border color之后,列表转导图样式问题

v1.9.3 / 2024.01.16
- 🐛 fix(字体自定义): 修复Green主题和Dark主题不支持代码片段中的字体自定义
现在主题可以通过把字体放在plugins文件夹下,并在代码片段如下片段,设置全局字体,并且手机端也能使用该字体了
```css
@font-face {
font-family: "汉仪空山楷";
font-style: normal;
src: url("plugins/custom-fonts/汉仪空山楷.ttf");
}

:root {
--b3-font-family: "汉仪空山楷", "Helvetica Neue", "Luxi Sans", "DejaVu Sans", "Hiragino Sans GB", "Microsoft Yahei", "sans-serif", "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols";

}
```
- 🐛 fix(数据库): 数据库选中单元格不显示背景色
- 🐛 fix(Dark主题): 修复没有加载特定link icon和代码块样式
- 💄 ui(外观): 修改 b3-theme-primary-lightest 颜色




Expand Down
3 changes: 1 addition & 2 deletions style/editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,7 @@
}
/* 表格默认居中 */
.protyle-wysiwyg div.table {
display: flex;
justify-content: center; /* 水平居中 */
text-align: center; /* 水平居中 */
}

/* -----------------------块嵌入----------------------- */
Expand Down
2 changes: 1 addition & 1 deletion theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Tsundoku",
"author": "Achuan-2",
"url": "https://github.com/Achuan-2/siyuan-themes-tsundoku",
"version": "1.9.9",
"version": "2.0.0",
"displayName": {
"default": "Tsundoku",
"zh_CN": "積読"
Expand Down

0 comments on commit 96bae2a

Please sign in to comment.