Compare commits
5 Commits
5d014f50df
...
8700bda104
| Author | SHA1 | Date | |
|---|---|---|---|
| 8700bda104 | |||
| 3160e02d41 | |||
| cfa61c2066 | |||
| 27faea1823 | |||
| df76e34c71 |
@@ -137,7 +137,8 @@ function Article({ cache }) {
|
||||
const textContent = v.textContent.trim();
|
||||
const isMath = (textContent.startsWith('\\(') && textContent.endsWith('\\)')) ||
|
||||
(textContent.startsWith('\\[') && textContent.endsWith('\\]')) ||
|
||||
(textContent.startsWith('$$') && textContent.endsWith('$$'));
|
||||
(textContent.startsWith('$$') && textContent.endsWith('$$')) ||
|
||||
(textContent.startsWith('$') && textContent.endsWith('$') && textContent.indexOf('$') !== textContent.lastIndexOf('$') && !/\s/.test(textContent.charAt(textContent.length - 2)));
|
||||
|
||||
const props = { key: key };
|
||||
if (v.hasAttributes()) {
|
||||
|
||||
@@ -69,7 +69,7 @@
|
||||
}
|
||||
|
||||
.black .checkbox:checked + label::after {
|
||||
border-color: #ddd;
|
||||
border-color: #eee;
|
||||
}
|
||||
|
||||
.black .copy-button {
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
}
|
||||
|
||||
.dark .checkbox:checked + label::after {
|
||||
border-color: #ddd;
|
||||
border-color: #eee;
|
||||
}
|
||||
|
||||
.dark .copy-button {
|
||||
|
||||
@@ -355,7 +355,8 @@ button.comment {
|
||||
top: 0.2em;
|
||||
width: 0.3rem;
|
||||
height: 0.6rem;
|
||||
border: solid #000;
|
||||
border-style: solid;
|
||||
border-color: #000;
|
||||
border-width: 0 2px 2px 0;
|
||||
transform: rotate(45deg);
|
||||
}
|
||||
|
||||
@@ -87,7 +87,7 @@
|
||||
}
|
||||
|
||||
.red .checkbox:checked + label::after {
|
||||
border-color: #aa0000;
|
||||
border-color: #dd0000;
|
||||
}
|
||||
|
||||
.red .copy-button {
|
||||
|
||||
Reference in New Issue
Block a user