Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 14a2142

Browse files
docs(css): ensure all type-hints have a background color
If the type of a type-hint was not recognized, say a "Promise", then the background color was left as white. Given that the default foreground color is also white, this meant that such type-hints were invisible. Closes angular#6934
1 parent 2a4f92e commit 14a2142

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/app/assets/css/docs.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,7 @@ iframe.example {
422422

423423
.type-hint {
424424
display:inline-block;
425+
background: gray;
425426
}
426427

427428
.variables-matrix .type-hint {
@@ -567,7 +568,7 @@ h4 {
567568
}
568569

569570
.return-arguments td:first-child {
570-
width:100px;
571+
width:100px;
571572
}
572573

573574
ul.methods > li,

0 commit comments

Comments
 (0)