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

Tag的生成能否设定为一个单独html元素 #5

Open
Tback1 opened this issue Oct 21, 2019 · 2 comments
Open

Tag的生成能否设定为一个单独html元素 #5

Tback1 opened this issue Oct 21, 2019 · 2 comments

Comments

@Tback1
Copy link

Tback1 commented Oct 21, 2019

image

想自己改一下,看了一下nim的源代码
不知道是不是在这里
resp html(
h1("Add Success"),
h1(@"name",
a(href=url)
)
)
调试css的时候看了一下和title一样都是被a元素定义。这个能不能单独设定一个元素,设置为其他颜色。

另外tag的外框太大了
比如feat:Delete或者第一行的Fatkun图片那一条,标签直接就上下顶天,七分不出来到底哪一行是一组tbm项目的起始了。

另外ps minicss的可读性好差~~🤣🤣

@muxueqz
Copy link
Owner

muxueqz commented Oct 22, 2019

@Tback1 确实,相关的代码在这里:
https://github.com/muxueqz/skybook/blob/master/src/skybook.nim#L209

你可以调调看,mini css的问题,是因为直接用了milligram.min.css

@firstuanl
Copy link

能否增加一个tag页,还有tag好像只能用小逗号分割,能否增加空格之类的,还有,tag能否从原有的tag弹出点击

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

No branches or pull requests

3 participants