Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

catalog主题切换后出现位移 #673

Closed
Plusto opened this issue Sep 20, 2024 · 4 comments
Closed

catalog主题切换后出现位移 #673

Plusto opened this issue Sep 20, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@Plusto
Copy link

Plusto commented Sep 20, 2024

描述这个Bug

点击主题切换后,catalog出现位移
image
image
原因应该是前后padding不一致
image
image
都改成padding:5px,8px后问题会消失

版本号

vscode,chrome

问题重现链接

No response

@Plusto
Copy link
Author

Plusto commented Sep 20, 2024

https://fauc3t.top/?#/article/Collection/1
朋友的网页,点击右上主体切换按钮就会一直动来动去的

@Jay-716
Copy link

Jay-716 commented Sep 20, 2024

似乎是因为这两个padding不一样。

.@{prefix}-catalog {
  & > &-link {
    padding: 5px 8px;
  }

  &-link {
    padding: 5px 0 5px 1em;
    line-height: 1.2;
...

@Faucet7
Copy link

Faucet7 commented Sep 20, 2024

来围观了☝️😎

@imzbf imzbf added the bug Something isn't working label Sep 20, 2024
@imzbf
Copy link
Owner

imzbf commented Sep 20, 2024

在4.20.2中已修复,这个老问题,还是两年前埋下的

@imzbf imzbf closed this as completed Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants