Merge "Make the trailing-whitespace CSS rule more specific"

This commit is contained in:
Ben Rohlfs
2019-04-18 12:22:56 +00:00
committed by Gerrit Code Review

View File

@@ -184,7 +184,12 @@ limitations under the License.
/* >> character */
content: '\00BB';
}
.trailing-whitespace {
/* Is defined after other background-colors, such that this
rule wins in case of same specificity. */
.trailing-whitespace,
.content .trailing-whitespace,
.trailing-whitespace .intraline,
.content .trailing-whitespace .intraline {
border-radius: .4em;
background-color: var(--diff-trailing-whitespace-indicator);
}