From c4f9db9ff6ba1f1f94490a0d8e96acccf0eb549e Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Mon, 29 Jun 2020 08:43:48 -0700 Subject: [PATCH] Don't allow text to overflow an ambiguity button in the Y direction MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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). --- empathy/empathy.css | 1 + 1 file changed, 1 insertion(+) 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 { -- 2.43.0