From 8a2889e944c5f079c29f72ae91c6110d7d59520a Mon Sep 17 00:00:00 2001 From: George Katsikas <giorgakis.katsikas@gmail.com> Date: Mon, 4 Mar 2024 16:13:28 +0100 Subject: [PATCH] change widths of referee invitation table --- .../submissions/_hx_select_referee_email_table_row.html | 4 +++- .../templates/submissions/_hx_select_referee_table_row.html | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/scipost_django/submissions/templates/submissions/_hx_select_referee_email_table_row.html b/scipost_django/submissions/templates/submissions/_hx_select_referee_email_table_row.html index d34e62245..10004fd3e 100644 --- a/scipost_django/submissions/templates/submissions/_hx_select_referee_email_table_row.html +++ b/scipost_django/submissions/templates/submissions/_hx_select_referee_email_table_row.html @@ -27,5 +27,7 @@ </td> - <td>{{ profile_email.email }}</td> + <td title="{{ profile_email.email }}" + style="max-width:250px;" + class="text-truncate overflow-hidden">{{ profile_email.email }}</td> </tr> diff --git a/scipost_django/submissions/templates/submissions/_hx_select_referee_table_row.html b/scipost_django/submissions/templates/submissions/_hx_select_referee_table_row.html index 2b4731f2f..e55ec8164 100644 --- a/scipost_django/submissions/templates/submissions/_hx_select_referee_table_row.html +++ b/scipost_django/submissions/templates/submissions/_hx_select_referee_table_row.html @@ -1,6 +1,6 @@ <tr> - <td> - <a href="{{ profile.get_absolute_url }}">{{ profile }}</a> + <td style="max-width:200px;" class="text-truncate overflow-hidden"> + <a title={{ profile }} href="{{ profile.get_absolute_url }}">{{ profile }}</a> </td> <td> @@ -37,7 +37,7 @@ </table> </td> - <td> + <td style="min-width:330px;"> {% if not profile.accepts_refereeing_requests %} <span class="text-danger">This person does not accept refereeing requests</span> -- GitLab