1
0
mirror of https://github.com/lxsang/antd-web-apps synced 2025-07-23 17:19:47 +02:00

fix display issues

This commit is contained in:
lxsang
2020-12-09 11:22:51 +01:00
parent d9ab470487
commit fbe0f6397c
8 changed files with 32 additions and 7 deletions

View File

@ -322,3 +322,19 @@ model-viewer {
padding-top: 10px;
padding-bottom: 0px;
}
h1, h2, h3, h4, h5 {
text-align: left;
}
div.doc-toc ul li {
text-align: left;
}
table.hljs-ln tr, table.hljs-ln td {
background-color: transparent !important;
border:0 !important;
}
table.hljs-ln td {
padding: 3px 3px !important;
}

View File

@ -98,7 +98,7 @@
<div class = "commentsec">
<h3 class = "comment-header">Comments</h1>
<div>
The comment editor supports <b>Markdown</b> document format. Your email is necessary to notify you of further updates on the discussion. It will be hidden from the public.
The comment editor supports <b>Markdown</b> syntax. Your email is necessary to notify you of further updates on the discussion. It will be hidden from the public.
</div>
<div id="quick_talk_comment_thread"></div>
</div>

View File

@ -53,6 +53,10 @@ local url = __main__:get("url")
rel="stylesheet"
type="text/css"
href="<?=HTTP_ROOT?>/assets/style.css" />
<link
rel="stylesheet"
type="text/css"
href="<?=HTTP_ROOT?>/assets/github-markdown.css" />
<link
rel="stylesheet"
type="text/css"
@ -109,7 +113,7 @@ local url = __main__:get("url")
?>
</div>
<div class="doc-content">
<div class="doc-content markdown-body">
<?lua
if __main__ then
__main__:render()