From 98274dbb0d95d81abf424a85f1c731392da8ba28 Mon Sep 17 00:00:00 2001 From: xiaomlove Date: Sun, 30 Jul 2023 14:28:19 +0800 Subject: [PATCH] fix code tag display original --- include/constants.php | 2 +- include/functions.php | 2 +- public/styles/nexus.css | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/include/constants.php b/include/constants.php index 6f04ffb1..aabe95cc 100644 --- a/include/constants.php +++ b/include/constants.php @@ -1,6 +1,6 @@
".$lang_functions['text_code']."
$text

"); + return addTempCode("
".$lang_functions['text_code']."
$text

"); } function formatImg($src, $enableImageResizer, $image_max_width, $image_max_height, $imgId = "") { diff --git a/public/styles/nexus.css b/public/styles/nexus.css index 7f242d88..c63fcfa0 100644 --- a/public/styles/nexus.css +++ b/public/styles/nexus.css @@ -68,3 +68,6 @@ img.hitandrun { .text-muted { color: #7d7b7b } +.codemain>pre { + margin: 0; +}