Fix css issues in messages display