feat: add content padding setting

This commit is contained in:
Erzbir
2026-06-15 22:23:34 +08:00
parent 99a04beb11
commit b7a5ce82ac
3 changed files with 17 additions and 2 deletions
+6
View File
@@ -147,6 +147,12 @@
--size-theme-font: [(${theme.config.style.font_size})];
}
</style>
<style no-pjax th:if="${not #strings.isEmpty(theme.config.style.content_padding)}" th:inline="css">
:root {
--spacing-theme-container-padding: [(${theme.config.style.content_padding})];
--spacing-theme-container-padding-mobile: [(${theme.config.style.content_padding})];
}
</style>
<script no-pjax>
window.TerminalTheme?.applyCustomCss?.();
</script>