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