doc: Update react.md cheatsheet.

This commit is contained in:
jaywcjlove
2022-10-05 14:46:37 +08:00
parent 41f520d306
commit a723b97df5
5 changed files with 58 additions and 15 deletions

View File

@ -763,6 +763,19 @@ body:not(.home) .h2wrap > h2 a::after {
.token.italic { font-style: italic; }
.token.entity { cursor: help; }
.highlight-line {
background-color: var(--color-neutral-muted);
display: block;
}
.code-line.line-number::before {
display: inline-block;
width: 1rem;
text-align: right;
margin-right: 16px;
margin-left: -8px;
color: var(--color-fg-subtle);
content: attr(line);
}
/* 代码高亮 End */
.footer-wrap {