adapt styles for logging (no padding top/bottom)