Fixed view on mobile phones

This commit is contained in:
Ed 2022-12-18 18:19:30 +01:00
parent 94c95a53ee
commit a1a2b06f8b
3 changed files with 8 additions and 2 deletions

5
res/pico.min.css vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -3,7 +3,8 @@
<head>
<meta charset="utf-8" />
<title>{% block title %}{% endblock %}</title>
<link rel="stylesheet" href="https://unpkg.com/@picocss/pico@latest/css/pico.min.css">
<meta name="viewport" content="width=300rem" />
<link rel="stylesheet" href="/res/pico.min.css">
<style>
.propic {border-radius:100%;}
.people img {border-radius:100%;max-width:6em;}

View File

@ -57,7 +57,7 @@
<div class="grid people" style="padding-bottom:1em;">
{% set room = namespace(forbidden=false) %}
{% for person in room_members %}
<div>
<div style="margin-bottom: 1em;">
<img class="propic" src="{{person.ans('propic') or '/res/avatar.jpg'}}" />
<h3>{{person.ans('fursona_name')}}</h3>
{% if person.code == order.room_id %}<p><strong>ROOM OWNER</strong></p>{% endif %}