Merge "Fix specificity of widespread `.external` selector"

This commit is contained in:
jenkins-bot 2021-11-09 17:14:03 +00:00 committed by Gerrit Code Review
commit 4efa75aa7f
1 changed files with 6 additions and 7 deletions

View File

@ -136,11 +136,10 @@ pre,
}
// External links
.mw-parser-output {
.external {
background-image: url( images/external-link-ltr-icon.svg );
background-position: center right;
background-repeat: no-repeat;
padding-right: 13px;
}
// Use of `a` element selector due to its widespread usage and for limiting generic class scope.
.mw-parser-output a.external {
background-image: url( images/external-link-ltr-icon.svg );
background-position: center right;
background-repeat: no-repeat;
padding-right: 13px;
}