diff --git a/lib/front/front.class.php b/lib/front/front.class.php index 6acc2841ff..a3a0fbfe2c 100644 --- a/lib/front/front.class.php +++ b/lib/front/front.class.php @@ -275,6 +275,7 @@ class html extends baseHTML { $colorHue = (html::stringToCode($user->account) * $hueDistance) % 360; $style .= "background: hsl($colorHue, $saturation, $lightness);"; + if($size) $style .= 'font-size: ' . round($size * 2 / 3) . 'px;'; } if(!empty($style)) $style = "style='$style'";