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');