This commit is contained in:
Jurgis Sakalauskas
2026-04-29 11:05:39 +03:00
parent beb1294d86
commit d6f7554dcc
3 changed files with 9 additions and 4 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ def add():
return redirect(url_for("index"))
@app.route("/download/<article_id>")
@app.route("/download/<article_id>.epub")
def download(article_id):
article = storage.get_article(article_id)
if not article:
+5 -2
View File
@@ -1,12 +1,15 @@
* { box-sizing: border-box; }
html, body {
width: 100%;
margin: 0;
}
body {
font-family: serif;
font-size: 1.6rem;
line-height: 1.5;
margin: 0;
padding: 1rem;
max-width: 100%;
}
.add-form {
+3 -1
View File
@@ -2,7 +2,9 @@
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=yes">
<meta name="HandheldFriendly" content="true">
<meta name="MobileOptimized" content="width">
<title>{% block title %}kob{% endblock %}</title>
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
</head>