]> _ Git - fluidbook-toolbox.git/commitdiff
#7380
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 11 Mar 2025 15:24:43 +0000 (16:24 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 11 Mar 2025 15:24:43 +0000 (16:24 +0100)
app/Models/Traits/PublicationSettings.php

index d5da4782190bafba318381f93eda00c9b09c92f0..ba6ca039f2101e7e8ee3f2ddd306fd1d02734e25 100644 (file)
@@ -408,12 +408,12 @@ trait PublicationSettings
             'when' => ['mobileNavigationType' => ['book', 'landscape']],
         ]);
         $this->addSettingField('', FormSeparator::class);
-        $this->addSettingField('mobileReducedMargins', Checkbox::class, $this->__('Marges verticales réduites sur mobile'), [
-            'default' => false,
-        ]);
         $this->addSettingField('mobileHorizontalMargins', Integer::class, $this->__('Marges horizontales sur mobile'), [
             'default' => 10,
         ]);
+        $this->addSettingField('mobileReducedMargins', Checkbox::class, $this->__('Marges verticales réduites sur mobile'), [
+            'default' => false,
+        ]);
         $this->addSettingField('mobileHideSliderIfOverlaps', Checkbox::class, $this->__('Cacher le slider si nécessaire'), ['default' => true, 'when' => ['mobileReducedMargins' => '1']]);
         $this->addSettingField('extraXSpace', Integer::class, $this->__('Marge supplémentaire horizontale'), [
             'default' => 0,