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

Long length title will cause a bug in navbar #1683

Open
1 task done
myuki opened this issue Jul 1, 2019 · 3 comments
Open
1 task done

Long length title will cause a bug in navbar #1683

myuki opened this issue Jul 1, 2019 · 3 comments
Assignees
Labels
contribution welcome Contributions welcome has PR Has a related PR

Comments

@myuki
Copy link

myuki commented Jul 1, 2019

  • I confirm that this is an issue rather than a question.

Bug report

Steps to reproduce

Use default theme on VuePress v1.x

在 VuePress v1.x 上使用默认主题

config.js:

module.exports = {
    title: '长度过大的标题会有显示问题,这是一条演示',
    themeConfig: {
        search: false,
        sidebarDepth: 0,
        activeHeaderLinks: false,
    }
}

What is expected?

Text beyond the width of the screen should be omitted

超出屏幕宽度部分的文字被省略

What is actually happening?

Long length title that beyond the width of the screen will use a newline. The text exceeds the border of the navbar

超出屏幕宽度的标题文字会进行换行,导致文字超出导航栏边界。

Bug Picture

This is the case when I use my mobile phone visit the site. It can be reproduced on Firefox(Android)、Android System WebView, also Firefox(windows)、Edge(windows)

这是使用手机访问显示的效果,手机上使用 Firefox Priview、Android System WebView,电脑使用 Firefox、Edge 均能复现

@ulivz ulivz added the contribution welcome Contributions welcome label Jul 1, 2019
@ulivz
Copy link
Member

ulivz commented Jul 1, 2019

Contribution welcome.

BTW, I'll appreciate if you take the time to translate the issue to English so anybody can answer, you will also benefit from this :)

@myuki
Copy link
Author

myuki commented Jul 1, 2019

Contribution welcome.

BTW, I'll appreciate if you take the time to translate the issue to English so anybody can answer, you will also benefit from this :)

I think so, but I'm busy in the day, meybe tonight I will translate this :D

@myuki myuki changed the title 长度过大的标题会有显示问题 Longlength will title will cause a bug Jul 1, 2019
@myuki myuki changed the title Longlength will title will cause a bug Long length title will cause a bug Jul 1, 2019
@myuki myuki changed the title Long length title will cause a bug Long length title will cause a issue in navbar Jul 1, 2019
@myuki myuki changed the title Long length title will cause a issue in navbar Long length title will cause an issue in navbar Jul 1, 2019
@myuki myuki changed the title Long length title will cause an issue in navbar Long length title will cause a bug in navbar Jul 1, 2019
@seifsay3d-zz
Copy link

seifsay3d-zz commented Jul 2, 2019

Someone on this or can I take it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution welcome Contributions welcome has PR Has a related PR
Projects
None yet
Development

No branches or pull requests

5 participants