fix: content width

This commit is contained in:
thek4n 2026-07-16 01:58:21 +03:00
parent 4432d98281
commit 8f29c2edfe
4 changed files with 12 additions and 4 deletions

View File

@ -6,6 +6,14 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to
[Semantic Versioning](https://semver.org/lang/en/).
## `v0.5.3` - 16.07.2026
### Fixed
- Fixed contend width
---
## `v0.5.2` - 16.07.2026
### Fixed
- Fixed tables rendering

2
Cargo.lock generated
View File

@ -1188,7 +1188,7 @@ checksum = "0e7465ac9959cc2b1404e8e2367b43684a6d13790fe23056cc8c6c5a6b7bcb94"
[[package]]
name = "mdpreview"
version = "0.5.2"
version = "0.5.3"
dependencies = [
"askama",
"askama_axum",

View File

@ -1,6 +1,6 @@
[package]
name = "mdpreview"
version = "0.5.2"
version = "0.5.3"
edition = "2024"
authors = ["Vladislav Kan <thek4n@yandex.ru>"]
build = "build.rs"

View File

@ -2,7 +2,7 @@
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="viewport" content="width=device-width, initial-scale=0.7">
<title>{% block title %}Note{% endblock %}</title>
<link rel="stylesheet" href="{{ highlight_style_url }}">
<style>
@ -19,8 +19,8 @@
.content {
max-width: 800px;
width: 100%;
background-color: #1e1e1e;
width: 100%;
padding: 40px;
border-radius: 12px;
box-shadow: 0 4px 20px rgba(0,0,0,0.5);