Fixed image size on the 'invite user' button

This commit is contained in:
Ed 2023-01-17 22:34:22 +01:00
parent 00fbc66a9d
commit a1aca73527
1 changed files with 6 additions and 4 deletions

View File

@ -44,9 +44,11 @@
{% if order.room_id == order.code and not order.room_confirmed and len(room_members) < 5 %}
<div>
<a href="javascript:document.getElementById('modal-roominvite').setAttribute('open', 'true');">
<div class="propic-container">
<img class="propic" src="/res/new.png" />
<h3>Invite</h3>
<p>Get room code</p>
</div>
</a>
</div>
{% endif %}
@ -92,7 +94,7 @@
<table>
{% for person in pending_roommates %}
<tr>
<td style="width:4em;"><img style="width:2em" class="propic" src="/res/propic/{{person.ans('propic') or 'default.png'}}" /></td>
<td style="width:4em;"><img style="width:2em;height:2em;" class="propic" src="/res/propic/{{person.ans('propic') or 'default.png'}}" /></td>
<td>{{person.name}}</td>
{% if person.status == 'pending' %}
<td><strong style="color:red;">UNPAID</strong></td>