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

一些标签不会居右 #4

Closed
butfool opened this issue Jan 17, 2023 · 3 comments
Closed

一些标签不会居右 #4

butfool opened this issue Jan 17, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@butfool
Copy link

butfool commented Jan 17, 2023

image

如图所示,一些标签无法居右

LogSeq:0.8.16
DeveloperTheme: 1.1.3
Windows10

@butfool
Copy link
Author

butfool commented Jan 17, 2023

和顺序无关,似乎和数量有关,只能有三个居右的

@UNICKCHENG
Copy link
Owner

image

如图所示,一些标签无法居右

LogSeq:0.8.16 DeveloperTheme: 1.1.3 Windows10

很遗憾,目前不支持 #QUES 标签居右显示,不过您可以考虑将下述代码复制到 custom.css 中,来实现这一操作

@media (min-width: 640px) {
    a.tag[data-ref=QUES],
    a.tag[data-ref=ques],
    a.tag[data-ref=question] {
      position: relative;
      float: right;
      top: 11%;
    }
}

目前只支持以下标签居右显示

  • #Bug#bug
  • #feat#Improvement#improvement
  • #perf#feature#Feature
  • #docs#Documentation#documentation
  • #idea#Idea

考虑到一段内容中增加太多标签,可能会破坏段落的阅读性,所以只设置了部分标签可以居右显示

如果您有更好的改进建议,欢迎指出

ASPA: #QUES 标签将会在下一个版本得到支持

@UNICKCHENG UNICKCHENG added the enhancement New feature or request label Jan 17, 2023
@butfool
Copy link
Author

butfool commented Jan 17, 2023

明白了,原来是我没有设置

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants