Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davoclavo/4497907 to your computer and use it in GitHub Desktop.
Save davoclavo/4497907 to your computer and use it in GitHub Desktop.
A really long title to show the container width buggity bug

Bug #1:

If the filename is too big, it gets on top of the "N file" link icon, which looks nasty. bug1

And maybe you will say:

no one will ever write a name that long, GOSH!

well, it doesn't only looks weird, but it is the source of another bug...

Bug #2:

Hovering the mouse over the "N files" link on the gist metadata. (Even if the name is small) doesn't trigger the tooltip

bug2.2

How it looks if you move your mouse a liiiittle bit into the file word

bug2.1

Solution

Two bugs squished by the same Mjolnir:

.gist-item .creator {
  ...
  width: 450px;
}

p.s. - Please make the anti spam squad get rid of all that funky turkish spam in the Discover gist pages.

p.s.2 - Dear customer service representative... enjoy

p.s.4 - There is no p.s.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment