mobile fix v2
This commit is contained in:
parent
c3acc2114b
commit
cbcc4d87a6
@ -1,6 +1,6 @@
|
||||
{% extends 'layout.html' %}
|
||||
{% block content %}
|
||||
<div class="container" style="max-width: 900px;">
|
||||
<div class="container" style="width: 900px;">
|
||||
{% include 'nav.html' %}
|
||||
<h2 class="center">{{file[2]}}</h2>
|
||||
<p class="center">Expires at: {{file[5]|expirein}}</p>
|
||||
@ -18,7 +18,7 @@
|
||||
</audio>
|
||||
{% elif file[2].split('.')[-1] in ['txt', "py", "php", "htm", "html", "css", "js", "ts", "cr", "c", "cpp", "rs", "rst"] %}
|
||||
{% set filed = file[1] + '.' + file[2].split('.')[-1] %}
|
||||
<p class="text" readonly style="width: 900px">{{ filed|gettxt|replace('&', '&')|replace('<', '<')|replace('>', '>')|replace('\n', '<br>')|safe}}</p>
|
||||
<p class="text" readonly>{{ filed|gettxt|replace('&', '&')|replace('<', '<')|replace('>', '>')|replace('\n', '<br>')|safe}}</p>
|
||||
{% elif file[2].split('.')[-1] in ['md'] %}
|
||||
{% set filed = file[1] + '.' + file[2].split('.')[-1] %}
|
||||
<p class="text-md">{{ filed|gettxt|markdown|safe}}</p>
|
||||
|
Loading…
Reference in New Issue
Block a user