git-history icon indicating copy to clipboard operation
git-history copied to clipboard

Code line is not displayed properly

Open joseluisq opened this issue 6 years ago • 7 comments

https://github-history.netlify.com/ReactiveX/rxjs/blob/master/index.js

screen shot 2019-02-06 at 13 34 34

There is a height: 15px; per div, some height tweak should help.

joseluisq avatar Feb 06 '19 12:02 joseluisq

Does it happen always for you? I can't reproduce it image

pomber avatar Feb 06 '19 12:02 pomber

@pomber I believe I saw this happen in one of the frames in the video you posted on twitter too

brandonmcconnell avatar Feb 06 '19 12:02 brandonmcconnell

@pomber I believe I saw this happen in one of the frames in the video you posted on twitter too

I think I fixed that one. It happened when the commit message was long.

pomber avatar Feb 06 '19 13:02 pomber

Does it happen always for you? I can't reproduce it image

i have same problem

osynavets avatar Feb 06 '19 13:02 osynavets

Looking into that, it's something related to the zoom in browser (Mac). Apparently, the 100% zoom in Chrome Canary v74 is not the same in Chrome v72 (Official Build). My screenshot was Chrome Canary based. Default Chrome is showing it OK (100% zoom).

Your CSS per div now:

{
  overflow: hidden;
  height: 15px;
  transform: translateX(0px);
  opacity: 1;
}

I think some CSS update could fix it.

joseluisq avatar Feb 06 '19 13:02 joseluisq

Thanks, I'll try Chrome Canary later

pomber avatar Feb 06 '19 16:02 pomber

It happens on current chrome too: https://github-history.netlify.com/llyer/leetcode/blob/master/README.md

pomber avatar Feb 09 '19 19:02 pomber