fix the api-index border-left style because of selector 'api'