fix(docs-infra): adjust code link styling height (#44376)
fix(docs-infra): adjust code link styling height (#44376)

the height of code links (anchors inside code tags or
code tags inside anchors) is inconsistent, fix such
issue by also making sure that code links to external
resources do not get wrongly styled

PR Close #44376

manekinekko/angular,gkalpak/angular,angular-indonesia/angular,shairez/angular,shairez/angular,ocombe/angular,gkalpak/angular,angular/angular,angular-indonesia/angular,JiaLiPassion/angular,angular-indonesia/angular,manekinekko/angular,shairez/angular,angular/angular,JiaLiPassion/angular,angular-indonesia/angular,manekinekko/angular,manekinekko/angular,angular/angular,gnomeontherun/angular,shairez/angular,manekinekko/angular,ocombe/angular,ocombe/angular,JiaLiPassion/angular,ocombe/angular,gkalpak/angular,gnomeontherun/angular,manekinekko/angular,angular/angular,gkalpak/angular,gnomeontherun/angular,shairez/angular,JiaLiPassion/angular,ocombe/angular,ocombe/angular,gnomeontherun/angular