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

问问一些小bug #71

Closed
DesnLee opened this issue Mar 24, 2021 · 3 comments
Closed

问问一些小bug #71

DesnLee opened this issue Mar 24, 2021 · 3 comments

Comments

@DesnLee
Copy link
Contributor

DesnLee commented Mar 24, 2021

  • navbar在文章封面图片区域出不来,要拉到内容部分然后才可以显示
  • 代码块有的字体很大,有的字体正常(测试发现单行过长会复现)
  • 首页background-attachment fixed 在手机的几个浏览器都出现图片被放的特别大,attachment好像不兼容移动端

未来feature

  • 单行代码块字体颜色和高亮色是否可以加入分别设置
  • 搜索模块
@DesnLee
Copy link
Contributor Author

DesnLee commented Mar 25, 2021

目前我用媒体查询在手机上把attachment属性去掉了,大佬有空研究一下手机上的首屏图片吧

@zhaoo
Copy link
Owner

zhaoo commented Mar 25, 2021

谢谢,周末修复。

@zhaoo
Copy link
Owner

zhaoo commented Mar 27, 2021

RE:

  1. navbar 图片区不展示:有意为之,聚焦到图片。(可在 JS 源码中控制,有需要可关闭)
  2. 代码块字体:正在测试并修复。
  3. background-attachment:有意为之,大多情况手机端需要对图片进行一个等比裁剪,否则图片比例会失调。(有需要可关闭)
  4. 代码块颜色:采用 highlight.js 预置配置项,不再进行单独配置。
  5. 搜索模块: 正在开发。

@zhaoo zhaoo closed this as completed Mar 27, 2021
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

2 participants