Skip to content

Commit 65cc62f

Browse files
committed
docs(readme): add some information about bullet
1 parent 5217c07 commit 65cc62f

3 files changed

Lines changed: 40 additions & 0 deletions

File tree

assets/bullet_line.png

127 KB
Loading

readme-zh.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
# logseq-developer-theme
22

3+
## 更新于 2023-05-31
4+
有不少用户反映 bullet 线条错乱,此处提供一个解决方案,即在 `logseq/custom.css` 中配置下述代码。更多细节可参考 [logseq-dev-theme#95](https://github.com/pengx17/logseq-dev-theme/issues/95)
5+
6+
```css
7+
.ls-block[haschild] > div > .block-content-wrapper::before {
8+
/* 请尝试调整 left 的变量值,如 -21px */
9+
left: -21px;
10+
}
11+
12+
.ls-block > div > div.items-center::before {
13+
/* 请尝试调整 right 的变量值,如 10px */
14+
right: 10px !important;
15+
}
16+
```
17+
18+
![](assets/bullet_line.png)
19+
20+
---
21+
322
[logseq-developer-theme](https://github.com/UNICKCHENG/logseq-developer-theme) 是将 [logseq-dev-theme](https://github.com/pengx17/logseq-dev-theme) 主题作为上游的二次开发,您可以在 [main.scss](scss/main.scss) 看到 `@import` 引用信息。如果您想知道二者的区别,可以通过各自的网站清楚地比较 [logseq-dev-theme](https://pengx17.github.io/knowledge-garden/)[logseq-developer-theme](https://docs.unickcheng.cc) [^1] [^2],同时这个项目也在 [这篇文章](https://docs.unickcheng.cc/#/page/logseq-developer-theme)下进行跟进。
423

524
**logseq-developer-theme 并不会成为 logseq-dev-theme 2.0**,仅仅因为 logseq-dev-theme 让我更关注于开发期望的 css 样式,因此这个项目不是一个 fork,而是通过 `@import` 来引用它。

readme.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,27 @@
66
[![logseq-dev-theme](https://img.shields.io/github/v/release/pengx17/logseq-dev-theme?label=logseq-dev-theme)](https://github.com/pengx17/logseq-dev-theme/actions/workflows/main.yml)
77
[![logseq](https://img.shields.io/github/v/release/logseq/logseq?label=logseq)](https://github.com/logseq/logseq/releases)
88

9+
## UPDATE 2023-05-31
10+
11+
Many users have reported that the bullet lines are misaligned. Here is a solution: configure the following code in `logseq/custom.css`. For more details, please refer to [logseq-dev-theme#95](https://github.com/pengx17/logseq-dev-theme/issues/95).
12+
13+
14+
```css
15+
.ls-block[haschild] > div > .block-content-wrapper::before {
16+
/* Adjust the variable value of "left", such as -21px. */
17+
left: -21px;
18+
}
19+
20+
.ls-block > div > div.items-center::before {
21+
/* Adjust the variable value of "right", such as 10px. */
22+
right: 10px !important;
23+
}
24+
```
25+
26+
![](assets/bullet_line.png)
27+
28+
---
29+
930
[中文版](readme-zh.md)
1031

1132
[logseq-developer-theme](https://github.com/UNICKCHENG/logseq-developer-theme) is a secondary development of the [logseq-dev-theme](https://github.com/pengx17/logseq-dev-theme) theme as an upstream, and you can easily see the `@import` reference in [main.scss](scss/main.scss) . You can clearly compare the differences between [logseq-dev-theme](https://pengx17.github.io/knowledge-garden/) and [logseq-developer-theme](https://docs.unickcheng.cc) via respective website [^1] [^2], for more information see [this article](https://docs.unickcheng.cc/#/page/logseq-developer-theme).

0 commit comments

Comments
 (0)