diff --git a/css/hf_base.css b/css/hf_base.css index e45333f..0b0de67 100644 --- a/css/hf_base.css +++ b/css/hf_base.css @@ -377,7 +377,6 @@ fieldset legend{ } #thumbnails{ - margin-left:0!important ; margin-bottom:0; } @@ -814,4 +813,4 @@ td .nbEntries{ width: auto !important; height: auto !important; } -} \ No newline at end of file +} diff --git a/themeconf.inc.php b/themeconf.inc.php index 4d7bc7e..9024608 100644 --- a/themeconf.inc.php +++ b/themeconf.inc.php @@ -160,12 +160,12 @@ function modus_thumbs($x, $smarty) $default_params = $smarty->getTemplateVars('derivative_params'); $row_height = $default_params->max_height(); $device = get_device(); - $container_margin = 5; + $container_margin = 4; if ('mobile'==$device) { $horizontal_margin = floor(0.01*$row_height); - $container_margin = 0; + $container_margin = -1; } elseif ('tablet'==$device) $horizontal_margin = floor(0.015*$row_height);