From d47ffe03acb55a682fd9c2135ee051a077e44a84 Mon Sep 17 00:00:00 2001 From: cleverson Date: Fri, 17 May 2024 10:43:05 -0300 Subject: [PATCH] adicionando margin-left na tag li no markdown preview --- app/api.py | 1 + static/css/markdown.css | 1 + 2 files changed, 2 insertions(+) diff --git a/app/api.py b/app/api.py index cf253e6..fb0308f 100644 --- a/app/api.py +++ b/app/api.py @@ -24,6 +24,7 @@ def data_valid(self, title: str, content: str) -> bool: def update_content(self, id:str, title: str, body: str, description:str, status:str, published_at:datetime) -> None: Contents.query.filter_by(id=id).update({ + #Contents.slug:slug(title), Contents.title:title, Contents.body:body, Contents.status:status, diff --git a/static/css/markdown.css b/static/css/markdown.css index 013876a..dac461a 100644 --- a/static/css/markdown.css +++ b/static/css/markdown.css @@ -87,6 +87,7 @@ #html-preview li, #markdown-preview li { + margin-left:20px; margin-bottom: 0.5em; }