From 4259b909a0d5a3adbe91839b3146fa7a0c90e65d Mon Sep 17 00:00:00 2001 From: cuom1999 Date: Thu, 8 Feb 2024 12:57:06 -0600 Subject: [PATCH] Fix submission css --- resources/submission.scss | 9 +++++++-- templates/submission/row.html | 6 ++++-- 2 files changed, 11 insertions(+), 4 deletions(-) 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 %}