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