diff --git a/CTFd/themes/admin/static/css/base.css b/CTFd/themes/admin/static/css/base.css index 3e3df21..2de92f9 100644 --- a/CTFd/themes/admin/static/css/base.css +++ b/CTFd/themes/admin/static/css/base.css @@ -181,4 +181,11 @@ pre { -webkit-border-radius: 0 !important; -moz-border-radius: 0 !important; border-radius: 0 !important; +} + +.text-break { + /* TODO: This is .text-break cloned from Bootstrap 4.3 with a fix for browsers not supporting break-word. Remove later. */ + word-break: break-all !important; + word-break: break-word !important; + overflow-wrap: break-word !important; } \ No newline at end of file diff --git a/CTFd/themes/admin/templates/modals/challenges/flags.html b/CTFd/themes/admin/templates/modals/challenges/flags.html index 76870d5..5996b5e 100644 --- a/CTFd/themes/admin/templates/modals/challenges/flags.html +++ b/CTFd/themes/admin/templates/modals/challenges/flags.html @@ -10,7 +10,7 @@ {% for flag in flags %}
{{ flag.content }}
{{ hint.content }}
{{ hint.content }}