From a6eaff717118b08c6fa2000ad38ea2fc5e0ae649 Mon Sep 17 00:00:00 2001 From: liyunze <50455574+liyunze-coding@users.noreply.github.com> Date: Tue, 28 May 2024 15:58:17 +0800 Subject: [PATCH] ver 2.33 --- configs.js | 2 ++ scripts/defaultConfigs.js | 2 ++ styles/taskList.css | 2 ++ 3 files changed, 6 insertions(+) diff --git a/configs.js b/configs.js index ce0d90a..f1a7cd8 100644 --- a/configs.js +++ b/configs.js @@ -73,6 +73,8 @@ const configs = (function () { bodyBorderColor: "#fff", // hex or name bodyBorderRadius: "5px", // px + bodyMarginTop: "1px", // px + // task lineHeight: 1.5, // number usernameFontWeight: "bold", // normal or bold or number diff --git a/scripts/defaultConfigs.js b/scripts/defaultConfigs.js index afe7afa..057e0cc 100644 --- a/scripts/defaultConfigs.js +++ b/scripts/defaultConfigs.js @@ -73,6 +73,8 @@ const defaultConfigs = (function () { bodyBorderColor: "#fff", // hex or name bodyBorderRadius: "5px", // px + bodyMarginTop: "0px", // px + // task lineHeight: 1.5, // number usernameFontWeight: "bold", // normal or bold or number diff --git a/styles/taskList.css b/styles/taskList.css index 94b0a43..7ee7443 100644 --- a/styles/taskList.css +++ b/styles/taskList.css @@ -22,6 +22,7 @@ --body-border-width: 5px; --body-border-color: white; --body-border-radius: 5px; + --body-margin-top: 0px; --line-height: 1.5; --username-font-weight: bold; --task-background-color: rgba(0, 0, 0, 0.7); @@ -102,6 +103,7 @@ body { align-items: center; margin-left: auto; margin-right: auto; + margin-top: var(--body-margin-top); } #main-container .task-wrapper .task-container .task { padding: var(--task-vertical-padding) var(--task-horizontal-padding);