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

页面排版问题 #54

Open
inkydragon opened this issue Nov 27, 2018 · 2 comments
Open

页面排版问题 #54

inkydragon opened this issue Nov 27, 2018 · 2 comments

Comments

@inkydragon
Copy link
Member

文档页面最上方的那个导航栏,当它过长的时候就会把旁边的 “编辑翻译” 挤下去。

image

应该考虑在合适的地方换行。

看上去目前这个换行是太长了自动折行形成的。
理想的状态是:过长的时候把最后一项放到下一行。并把 “编辑翻译” 放到同一行的右侧。

有问题的页面举例:

当然这个问题并不影响阅读文档,只是不太美观,可以先鸽一鸽。


另附一个幽灵 👻bug,偶尔(极少)出现。尚不知道具体的复现的条件:只知道跟具体的页面无关,刷新就消失,可能跟浏览器有关。

image

@Roger-luo
Copy link
Member

Roger-luo commented Nov 27, 2018

这个before的CSS规则在这里:https://github.com/JuliaDocs/Documenter.jl/blob/master/assets/html/documenter.css#L361

看起来没有什么问题,我没能重复出来这个bug,你可以在本地重复出来这个bug嘛?如果可以的话,帮忙看一下你本地的Documenter的这个css里面是什么?也许是浏览器的编码问题(在中文编码里变了?)

@Gnimuc
Copy link
Member

Gnimuc commented Nov 27, 2018

官方文档也有同样的问题:https://docs.julialang.org/en/v1/devdocs/valgrind/

dylahcow0aemiix

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