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

adding hscroll to wide commit messages #501

Open
dlangille opened this issue Nov 18, 2023 · 0 comments
Open

adding hscroll to wide commit messages #501

dlangille opened this issue Nov 18, 2023 · 0 comments
Assignees

Comments

@dlangille
Copy link
Contributor

Sometimes a commit message is long:

Screen Shot 2023-11-18 at 7 58 17 AM

Let's not have that page scrollable off to the right. Let's add this to the CSS:

pre.description {
    overflow-x: scroll;
    max-width: 600px;
}

Which gives us this:

Screen Shot 2023-11-18 at 8 03 44 AM

However, it is not clear to the viewer that the content is scrollable, as shown here:

Screen Shot 2023-11-18 at 8 06 20 AM

What CSS will make that horizontal scrollbar visible when there is overflow?

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

1 participant