Use inline style for container padding (scoped CSS can't target itself)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
shuki
2026-03-04 05:43:09 +02:00
parent 5c9e170454
commit afdbdd14a1

View File

@@ -630,7 +630,7 @@ sub page_header {
# (background, color, overflow, scrollbar) don't leak into WHM. # (background, color, overflow, scrollbar) don't leak into WHM.
$css = _scope_to_container($css); $css = _scope_to_container($css);
return qq{<style>$css</style>\n} return qq{<style>$css</style>\n}
. qq{<div data-theme="gniza" class="font-sans text-[2.3rem] p-2.5">\n}; . qq{<div data-theme="gniza" class="font-sans text-[2.3rem]" style="padding:10px">\n};
} }
sub _unwrap_layers { sub _unwrap_layers {