[9.2.00.dev] masque saisie menu + alignement avec contenu

pull/5/head
fredtempez 3 years ago
parent 17b0109ab8
commit 3908d592fe
  1. 6
      core/module/theme/view/menu/menu.js.php
  2. 5
      core/module/theme/view/menu/menu.php

@ -33,10 +33,10 @@ $("input, select").on("change", function() {
<?php echo json_encode($this->getData(['theme', 'menu', 'position']) === 'site-first'); ?>
|| <?php echo json_encode($this->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");
}).trigger("change");

@ -44,12 +44,13 @@
]); ?>
</div>
</div>
</div>
<div class="row">
<div class="col12">
<div class="block">
<h4>Mise en forme du texte</h4>
<div class="row">
<div class="col3">
<div class="col3">
<?php echo template::select('themeMenuFont', $module::$fonts, [
'label' => 'Police',
'selected' => $this->getData(['theme', 'menu', 'font'])
@ -78,7 +79,7 @@
<div>
</div>
</div>
<div class="row">
<div class="row">
<div class="col12">
<div class="block">
<h4>Configuration</h4>

Loading…
Cancel
Save