Compare commits

...

5 Commits

Author SHA1 Message Date
8700bda104 Adjust checkbox styles 2025-12-07 22:53:12 +00:00
3160e02d41 Fix: Split border shorthand for dark mode color override
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-12-07 22:53:12 +00:00
cfa61c2066 fix: Improve dark mode checkbox checkmark visibility
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-12-07 22:53:12 +00:00
27faea1823 style: Refine checked checkbox border color in dark theme 2025-12-07 22:53:12 +00:00
df76e34c71 fix: Prevent price false positives in single dollar math detection
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-12-07 22:53:12 +00:00
5 changed files with 7 additions and 5 deletions

View File

@@ -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()) {

View File

@@ -69,7 +69,7 @@
}
.black .checkbox:checked + label::after {
border-color: #ddd;
border-color: #eee;
}
.black .copy-button {

View File

@@ -65,7 +65,7 @@
}
.dark .checkbox:checked + label::after {
border-color: #ddd;
border-color: #eee;
}
.dark .copy-button {

View File

@@ -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);
}

View File

@@ -87,7 +87,7 @@
}
.red .checkbox:checked + label::after {
border-color: #aa0000;
border-color: #dd0000;
}
.red .copy-button {