Skip to content

Commit

Permalink
🔖 v2.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Achuan-2 committed Nov 3, 2024
1 parent 33673d9 commit efd75dc
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 13 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
## 2.3.3 / 2024.11.03
- 💄数据库图片全宽展示
- 💄link icon 对file协议的文件夹图标显示优化: file:// 起头的链接,如果 href 没有文件格式(含有.),或者文件后缀为 `/``\`,则使用 folder.svg 图标

## v2.3.2 / 2024.11.02
- 🐛 link icon 根据锚文本来选择是否显示规则完善,被[]包裹的文本才不显示,而不是含有[]就不显示
- 💄Dark主题适配数据库属性面板插件,使得文档的属性面板背景色正常
-

## v2.3.1 / 2024.10.31

Expand Down
11 changes: 5 additions & 6 deletions README_zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@

## 🚀最近更新

v2.3.3 / 2024.11.03
- 💄数据库图片全宽展示
- 💄link icon 对file协议的文件夹图标显示优化: file:// 起头的链接,如果 href 没有文件格式(含有.),或者文件后缀为 `/``\`,则使用 folder.svg 图标

v2.3.1 / 2024.10.31

- 💄引述块样式修改
Expand All @@ -43,14 +47,9 @@ v2.2.5 / 2024.09.11
- 💄 copy Savor主题搜索面板样式
- 💄 Admonition adapt to siyuan v3.1.6

v2.2.4 / 2024.09.01

* 💄 适配思源 v3.1.4 代码块行号变更
* 💄 数据库标签页添加右padding

v2.2.0 / 2024-07-18
✨ link icon 功能优化

✨ link icon 功能优化
- 锚文本为数字不显示 link icon
- 锚文本为*不显示 link icon
- 锚文本被[]包裹,不显示 link icon
Expand Down
15 changes: 15 additions & 0 deletions style/database.css
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,19 @@ span[data-type='av-add-more']:hover {
/* 数据库页签 */
.av__header .layout-tab-bar .item {
padding-right: 10px;
}

/* 数据库图片全宽展示 */
img.av__cellassetimg {
max-height: inherit;
border-radius: var(--b3-border-radius);
margin: 1px 2px;
max-width: none;
vertical-align: top;
font-size: inherit;
width: 100%;
}

.custom-attr .av__cellassetimg {
max-height: none;
}
17 changes: 12 additions & 5 deletions style/module/link_icon.css
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,18 @@
content: '';
background-image: url('/appearance/themes/Tsundoku/src/link_icon/bookxnote.ico');
}
.protyle-wysiwyg [data-node-id] span[data-type~='a'][data-href^="file://"][data-href $="/"]:not(:empty)::before,
.protyle-wysiwyg [data-node-id] span[data-type~='url'][data-href^="file://"][data-href $="/"]:not(:empty)::before,
.protyle-wysiwyg [data-node-id] a[href^="file://"][data-href $="/"]::before,
.b3-typography a[href^="file://"][data-href $="/"]::before
{
.protyle-wysiwyg [data-node-id] span[data-type~='a'][data-href^="file://"]:not([data-href*='.']):not(:empty)::before,
.protyle-wysiwyg [data-node-id] span[data-type~='a'][data-href^="file://"][data-href$="/"]:not(:empty)::before,
.protyle-wysiwyg [data-node-id] span[data-type~='a'][data-href^="file://"][data-href$="\\"]:not(:empty)::before,
.protyle-wysiwyg [data-node-id] span[data-type~='url'][data-href^="file://"]:not([data-href*='.']):not(:empty)::before,
.protyle-wysiwyg [data-node-id] span[data-type~='url'][data-href^="file://"][data-href$="/"]:not(:empty)::before,
.protyle-wysiwyg [data-node-id] span[data-type~='url'][data-href^="file://"][data-href$="\\"]:not(:empty)::before,
.protyle-wysiwyg [data-node-id] a[href^="file://"]:not([data-href*='.']):not(:empty)::before,
.protyle-wysiwyg [data-node-id] a[href^="file://"][data-href$="/"]::before,
.protyle-wysiwyg [data-node-id] a[href^="file://"][data-href$="\\"]::before,
.b3-typography a[href^="file://"]:not([data-href*='.']):not(:empty)::before,
.b3-typography a[href^="file://"][data-href$="/"]::before,
.b3-typography a[href^="file://"][data-href$="\\"]::before {
content: '';
background-image: url('/appearance/themes/Tsundoku/src/link_icon/folder.svg');
opacity: 0.9;
Expand Down
2 changes: 1 addition & 1 deletion theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -1153,4 +1153,4 @@ body
border-right: none !important;
border-top: none !important;
border-bottom: none !important;
}
}
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": "2.3.2",
"version": "2.3.3",
"displayName": {
"default": "Tsundoku",
"zh_CN": "積読"
Expand Down

0 comments on commit efd75dc

Please sign in to comment.