From 3b39d55b7b5e760df5e71ea78a59952d67b6ec8b Mon Sep 17 00:00:00 2001 From: iou1name Date: Thu, 28 Jun 2018 13:54:04 -0400 Subject: [PATCH] fix word wrap and break on quest post --- static/anonkun.css | 6 ++++++ tools.py | 1 + 2 files changed, 7 insertions(+) diff --git a/static/anonkun.css b/static/anonkun.css index 9af842e..e2d1aa5 100644 --- a/static/anonkun.css +++ b/static/anonkun.css @@ -30,6 +30,7 @@ img { #questPane { padding-left: 10px; padding-right: 32%; + min-width: 0; } .questPost { @@ -41,6 +42,11 @@ img { padding-right: 15px; } +.questPostData { + word-wrap: break-word; + min-width: 0; +} + #QMPostPane { display: flex; } diff --git a/tools.py b/tools.py index ae1cd6d..8c3a9a7 100644 --- a/tools.py +++ b/tools.py @@ -4,6 +4,7 @@ Miscellaneous tools and help functions. """ import os import re +import urllib import hashlib import magic