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

This commit is contained in:
fredtempez 2019-06-27 12:01:16 +02:00
parent 17b0109ab8
commit 3908d592fe
2 changed files with 6 additions and 5 deletions

View File

@ -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");

View File

@ -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>