even icon indicating copy to clipboard operation
even copied to clipboard

words overflow

Open tshepang opened this issue 6 years ago • 6 comments

https://github.com/getzola/even/pull/33 introduced an issue where words overflow:

Screenshot from 2019-09-23 19-48-46

See these words: building, build, and nix.

tshepang avatar Sep 23 '19 17:09 tshepang

I think it just needs to set some word-wrapping somewhere in the CSS

Keats avatar Sep 23 '19 18:09 Keats

The culprit is line 48 of sass/_main.sass:

  word-break: break-all;

Deleting that line fixes it.

There are other places in that file where the same line appears, but this is the one that applies to links in particular. Possibly the others should be fixed too. (Obviously this was someone's design decision, but it seems hard to regard it as anything but a bug: if your link text is so long and obscure that it's hard to wrap it, that should be your problem; don't fix it by randomly cutting in half other people's words.)

nyarvin avatar Feb 08 '20 00:02 nyarvin

@nyarvin can you do a PR?

Keats avatar Feb 08 '20 11:02 Keats

Did the merge fix this? I'm still seeing this at HEAD

jclinton avatar Jul 08 '20 18:07 jclinton

Actually, the only place I see the problem is on the About page and I just realized that word-break: break-all; was left in _main.scss on .about p > a line 277. What's was this line intended to help with?

jclinton avatar Jul 08 '20 19:07 jclinton

No clue, it's pretty old

Keats avatar Jul 08 '20 21:07 Keats