ui/improve css

This commit is contained in:
SouthFox 2022-12-01 16:30:18 +08:00
parent 67d96a1401
commit 9d5b5d4a2a
2 changed files with 11 additions and 2 deletions

View file

@ -34,6 +34,15 @@ def renderfile():
font-size: 14px;
font-family: Helvetica, Arial, sans-serif;
}
@media screen and (max-width:720px){
body {
margin: auto !important;
padding: 5px;
max-width: 580px;
font-size: 14px;
font-family: Helvetica, Arial, sans-serif;
}
}
.toot {
padding-top: 10px;
padding-bottom: 10px;

View file

@ -44,7 +44,7 @@
</div>
{% elif media.type in ['gifv','video','audio'] %}
<div class="col-lg-6">
<video controls src="{{ media.url }}" class="w-100 shadow-1-strong rounded" alt="{{ media.description }}"/></video>
<video controls src="{{ media.url }}" class="toot-media" alt="{{ media.description }}"/></video>
</div>
{% endif %}
{% endfor%}