question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The commit title input length is now 20px wide

See original GitHub issue

Refined GitHub enabled: commit-message-incorrect

Refined GitHub disabled: commit-message-correct

This happens when merging PRs https://github.com/aio-libs/aiohttp/pull/4731 and editing individual files https://github.com/scop/aiohttp/edit/changelog-project-url/setup.py?pr=%2Faio-libs%2Faiohttp%2Fpull%2F4731.

Looks like it’s because of

.rgh-monospace-textareas #merge_title_field, .rgh-monospace-textareas #commit-summary-input {
    width: calc(72ch + 18px);
    max-width: 100%;
}

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
fregantecommented, May 11, 2020

Can it be that ch counts the char width as 0 if an incorrect font is chosen?

Likely. Perhaps also try replacing the font-family to just monospace

Anyway this sounds like a system or browser problem not working correctly rather than Refined GitHub’s.

We can’t use the em unit either because it seems substantially different (72ch ≅ 43em on my system)

0reactions
webknjazcommented, May 11, 2020

max-width: none doesn’t change anything. width: calc(72em + 18px) fixes it.

Can it be that ch counts the char width as 0 if an incorrect font is chosen?

Read more comments on GitHub >

github_iconTop Results From Across the Web

linkedin-skill-assessments-quizzes/css-quiz.md at main - GitHub
The value of 20px will set the line-height to 20px. The value of 2 will set the line-height to twice the size of...
Read more >
How to write a Git commit message properly with examples
There are two reasons you should limit the git subject line to 50 characters. First of all, when others sift through your sea...
Read more >
How to write a commit message that will make your mom proud
Subject line less than or equal to 72 characters in length; Body line length limited to 80 characters; Use sentence case for commit...
Read more >
HTML: How to change the width of input field based on ...
I want to align textfield to right of the label when page width is greater than 1024 and if page size is less...
Read more >
Start Chatting - Make School
Start Chatting · Build out a basic view · Integrate sockets · Implement user form · Style and send messages. Implement the styles...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found