Skip to content

Commit

Permalink
🎨 misc
Browse files Browse the repository at this point in the history
  • Loading branch information
frostime committed Jul 8, 2024
1 parent 6d8aa16 commit 6b5aa5d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README_zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

* 支持自定义拖放功能
* 支持将书签组内项目移动到不同组内
* 动态书签组:基于查询的动态书签组,将查询结果列举在;支持以下规则
* 动态书签组:基于查询的动态书签组,将查询结果列举在侧栏中;支持以下规则

* SQL 查询:输入 sql 查询语句
* 反向链接:输入块 ID,查询对应块的反链
Expand Down
2 changes: 1 addition & 1 deletion src/style/card-view.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
}

.custom-bookmark-body.card-view {
padding-left: 3px; //略微补偿右侧滚动条占据空间带来的不对称
padding-left: 6px; //略微补偿右侧滚动条占据空间带来的不对称
background-color: var(--fmisc-bookmark-body-bg__card-view);
}

Expand Down
11 changes: 8 additions & 3 deletions src/style/core.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,19 @@ section#custom-bookmark-container {
}
main.custom-bookmark-body {
overflow-y: scroll;
padding-left: 3px; //略微补偿右侧滚动条占据空间带来的不对称
&::-webkit-scrollbar {
width: 8px;
width: 6px;
height: 20px;
}
&::-webkit-scrollbar-thumb {
border-width: 3px;
box-sizing: content-box;
border: 3px solid rgba(0, 0, 0, 0);
border-radius: var(--b3-border-radius);
box-shadow: inset 0 0 4px 4px var(--b3-scroll-color);
}
&::-webkit-scrollbar-thumb:hover {
border-width: 1px;
border-width: 0px;
}
}
}
Expand Down

0 comments on commit 6b5aa5d

Please sign in to comment.