fix(header): align width with body

remove all horizontal padding
align layout padding settings with body
split body classes into three variables
This commit is contained in:
ZhenShuo Leo
2025-10-03 04:00:39 +08:00
parent d4620d5318
commit 9665fe953c
7 changed files with 21 additions and 30 deletions

View File

@@ -243,7 +243,7 @@
{{/* ========== Render HTML ========== */}}
<div
class="main-menu flex items-center justify-between px-4 py-6 sm:px-6 md:justify-start gap-x-3 pt-[2px] pr-0 pb-[3px] pl-0">
class="main-menu flex items-center justify-between py-6 md:justify-start gap-x-3 pt-[2px] pr-2 md:pr-4 pb-[3px] pl-0">
{{ template "HeaderLogo" . }}
<div class="flex flex-1 items-center justify-between">
<nav class="flex space-x-3">