Fix alignment issue in database queries tab