Compare commits

...
3 Commits
4 changed files with 1600 additions and 820 deletions

No files matched your search

+1394 -818
View File
File diff suppressed because it is too large. Load diff
+2 -1
View File
@@ -11,9 +11,10 @@
"server": "astro dev"
},
"dependencies": {
"@astrojs/markdown-remark": "7.2.4",
"@astrojs/rss": "^4.0.18",
"@astrojs/sitemap": "^3.7.3",
"astro": "^6.4.8",
"astro": "^7.2.8",
"rehype-mathjax": "^7.1.0",
"remark-math": "^6.0.0",
"typesense": "^3.0.6"
+1 -1
View File
@@ -104,7 +104,7 @@ const labelStep = Math.max(1, Math.ceil(linePoints.length / 6));
</div>
) : (
<div class="line-chart-wrap">
<svg class="line-chart" viewBox={`0 0 ${lineWidth} ${lineHeight}`} role="img" aria-label={title} preserveAspectRatio="none">
<svg class="line-chart" viewBox={`0 0 ${lineWidth} ${lineHeight}`} role="img" aria-label={title} preserveAspectRatio="xMidYMid meet">
<line class="line-chart-axis" x1={padding.left} y1={padding.top + plotHeight} x2={padding.left + plotWidth} y2={padding.top + plotHeight}></line>
<line class="line-chart-axis" x1={padding.left} y1={padding.top} x2={padding.left} y2={padding.top + plotHeight}></line>
{[0, 0.5, 1].map((ratio) => (
Loaded 3 of 4 files, more files were not shown because too many files have changed in this diff. Show more