From: Carl Worth Date: Mon, 29 Jun 2020 15:43:48 +0000 (-0700) Subject: Don't allow text to overflow an ambiguity button in the Y direction X-Git-Url: https://git.cworth.org/git?p=lmno.games;a=commitdiff_plain;h=c4f9db9ff6ba1f1f94490a0d8e96acccf0eb549e Don't allow text to overflow an ambiguity button in the Y direction Thanks to one of my nephews for submitting something like: b̵̩͚̽̀͂͂͑̿͘̕͝u̸̮̅͌g̷̡̢̻̬͎̙͉̳̬͈̑̐̋̃̅ẻ̶̤̜̾̐x̷̦͔͚͙̤̀̀̀̂̕ṣ̷͙̦̘̰̔̾͊̊̍̒͛̄̉̚p̵̡̤̫̹̥̀́́͆ǫ̷̮͚̳̭̘̭̏s̷͔̈́̈͋̿̌̑͛̚̚͘i̸͔͔̾̄͐̓͗͐̌͘ṉ̷̨̭̻͇̥͌̓̕g̴̢̧̖̬͈͇̻͉̯͈̅̔͛̀ in our game last night, which ended up scribbling over the rows above and below in the judging view. This fix chops things off vertically, (which doesn't solve the case if someone is _legitimately_ trying to get such text to appear—we can address that case when it appears). --- diff --git a/empathy/empathy.css b/empathy/empathy.css index 9d458a3..3ab2fc6 100644 --- a/empathy/empathy.css +++ b/empathy/empathy.css @@ -49,6 +49,7 @@ border-radius: 10px; margin: 0; overflow-wrap: break-word; + overflow-y: hidden; } .ambiguity-button.selected {