From fbe0f6397c026162ce324c3a188ee2e4c01e054f Mon Sep 17 00:00:00 2001 From: lxsang Date: Wed, 9 Dec 2020 11:22:51 +0100 Subject: [PATCH] fix display issues --- blog/assets/style.css | 4 ++++ blog/views/default/layout.ls | 1 + blog/views/default/post/detail.ls | 4 ++-- blog/views/default/post/posts.ls | 2 +- doc/assets/style.css | 16 ++++++++++++++++ doc/views/default/index/index.ls | 2 +- doc/views/default/layout.ls | 6 +++++- talk/assets/quicktalk.js | 4 ++-- 8 files changed, 32 insertions(+), 7 deletions(-) diff --git a/blog/assets/style.css b/blog/assets/style.css index 6172486..7d34e8f 100644 --- a/blog/assets/style.css +++ b/blog/assets/style.css @@ -471,3 +471,7 @@ img { afx-hbox.inputbox { border-bottom: 1px solid #e5e5e5; } +table.hljs-ln tr { + background-color: transparent !important; + border:0 !important; +} \ No newline at end of file diff --git a/blog/views/default/layout.ls b/blog/views/default/layout.ls index e1e626f..6ff8199 100644 --- a/blog/views/default/layout.ls +++ b/blog/views/default/layout.ls @@ -21,6 +21,7 @@ + diff --git a/blog/views/default/post/detail.ls b/blog/views/default/post/detail.ls index 79ed4e4..1ccde3a 100644 --- a/blog/views/default/post/detail.ls +++ b/blog/views/default/post/detail.ls @@ -29,7 +29,7 @@ -
+
") @@ -54,7 +54,7 @@ end?>

Comments

- The comment editor supports Markdown 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 Markdown syntax. Your email is necessary to notify you of further updates on the discussion. It will be hidden from the public.
diff --git a/blog/views/default/post/posts.ls b/blog/views/default/post/posts.ls index c63ed86..741b92e 100644 --- a/blog/views/default/post/posts.ls +++ b/blog/views/default/post/posts.ls @@ -36,7 +36,7 @@
-
+

Comments

-The comment editor supports Markdown 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 Markdown syntax. Your email is necessary to notify you of further updates on the discussion. It will be hidden from the public.
diff --git a/doc/views/default/layout.ls b/doc/views/default/layout.ls index 85c81a0..1b3fe42 100644 --- a/doc/views/default/layout.ls +++ b/doc/views/default/layout.ls @@ -53,6 +53,10 @@ local url = __main__:get("url") rel="stylesheet" type="text/css" href="/assets/style.css" /> +
-
+
{ - this.show_comment(container, data, true).scrollIntoView(); + this.show_comment(container, data, true);//.scrollIntoView(); }); }); } @@ -196,7 +196,7 @@ class QuickTalk { container.appendChild(preview); container.appendChild(footer); at.appendChild(container); - container.scrollIntoView(); + //container.scrollIntoView(); return container; } load_thread(at) {