From e27d9dcab733d646963e96d3649dc976599dc95c Mon Sep 17 00:00:00 2001 From: tianshujie Date: Tue, 25 Mar 2025 13:39:24 +0800 Subject: [PATCH] * [feedback#8799,done,0.5h] adjust number label size. --- lib/zin/wg/history/css/v1.css | 3 +++ lib/zin/wg/history/v1.php | 5 +++++ 2 files changed, 8 insertions(+) create mode 100644 lib/zin/wg/history/css/v1.css diff --git a/lib/zin/wg/history/css/v1.css b/lib/zin/wg/history/css/v1.css new file mode 100644 index 0000000000..1030442d70 --- /dev/null +++ b/lib/zin/wg/history/css/v1.css @@ -0,0 +1,3 @@ +.history-panel-action .avatar {width: 21px !important; height: 21px !important;} +.history-panel-body .listitem {padding: 0.4rem;} +.history-panel-action > .item-inner {padding-left: 1.5rem;} diff --git a/lib/zin/wg/history/v1.php b/lib/zin/wg/history/v1.php index ba29863455..02e7b7dbcd 100644 --- a/lib/zin/wg/history/v1.php +++ b/lib/zin/wg/history/v1.php @@ -25,6 +25,11 @@ class history extends wg 'commentBtn?: string|array' // 是否允许添加备注。 ); + public static function getPageCSS(): ?string + { + return file_get_contents(__DIR__ . DS . 'css' . DS . 'v1.css'); + } + public static function getPageJS(): ?string { return file_get_contents(__DIR__ . DS . 'js' . DS . 'v1.js');