diff --git a/resources/submission.scss b/resources/submission.scss index fc877bf..45ec825 100644 --- a/resources/submission.scss +++ b/resources/submission.scss @@ -49,11 +49,14 @@ font-size: 1.2em; margin-bottom: 10px; - .name { + .sub-user { + overflow-wrap: break-word; + } + .sub-problem { font-weight: 700; } - .name:hover { + .sub-problem:hover { text-decoration: underline; } } @@ -89,6 +92,8 @@ border-radius: 50%; overflow: hidden; margin-right: 15px; + display: flex; + align-items: center; img { width: 100%; diff --git a/templates/submission/row.html b/templates/submission/row.html index 9f3f2da..f91b43b 100644 --- a/templates/submission/row.html +++ b/templates/submission/row.html @@ -4,10 +4,12 @@
- {{ link_user(submission.user) }} +
+ {{ link_user(submission.user) }} +
{% if show_problem %} - + {% endif %}