diff --git a/resources/problem.scss b/resources/problem.scss index 804ca69..dec1a82 100644 --- a/resources/problem.scss +++ b/resources/problem.scss @@ -11,6 +11,12 @@ width: 100%; } + &.pcode { + overflow-wrap: break-word; + word-wrap: break-word; + word-break: break-all; + } + &.pp { text-align: left; padding-left: 1em; @@ -329,3 +335,10 @@ ul.problem-list { } } +@media (min-width: 800px) { + #problem-table { + .pcode { + min-width: 7em; + } + } +} diff --git a/templates/problem/list.html b/templates/problem/list.html index fc1252a..6c177f9 100644 --- a/templates/problem/list.html +++ b/templates/problem/list.html @@ -47,7 +47,7 @@ {{ _('AC %%') }}{{ sort_order.ac_rate }}