diff --git a/core/module/theme/view/menu/menu.js.php b/core/module/theme/view/menu/menu.js.php index f1a02f52..e22d1dba 100755 --- a/core/module/theme/view/menu/menu.js.php +++ b/core/module/theme/view/menu/menu.js.php @@ -33,10 +33,10 @@ $("input, select").on("change", function() { getData(['theme', 'menu', 'position']) === 'site-first'); ?> || getData(['theme', 'header', 'position']) === 'body'); ?> ) { - css += 'nav{margin:20px 20px 0 20px}'; + css += 'nav{padding:20px 20px 0 20px}'; } else { - css += 'nav{margin:0 20px}'; + css += 'nav{padding:0 20px}'; } } else { @@ -122,4 +122,4 @@ $("#themeMenuPosition").on("change", function() { $("#themeMenuFixed").prop("checked", false).trigger("change"); }); } -}).trigger("change"); \ No newline at end of file +}).trigger("change"); diff --git a/core/module/theme/view/menu/menu.php b/core/module/theme/view/menu/menu.php index d9e3cb0b..a20195d3 100755 --- a/core/module/theme/view/menu/menu.php +++ b/core/module/theme/view/menu/menu.php @@ -44,12 +44,13 @@ ]); ?> +