fixes Markdown & Apex Globe
Deploy to VPS / deploy (push) Has been cancelled

This commit is contained in:
2026-04-16 12:45:48 -05:00
parent 21d0f9ee1c
commit 9d0ec57d7c
5 changed files with 5 additions and 5 deletions
@@ -516,7 +516,7 @@ const renderMarkdown = (text: string, onImageClick: (url: string) => void) => {
return; return;
} }
const ulMatch = trimmed.match(/^[-*]\s*(.*)/); const ulMatch = trimmed.match(/^[-*]\s+(.*)/);
if (ulMatch) { if (ulMatch) {
isOrderedList = false; isOrderedList = false;
listItems.push(<li key={idx} className="leading-relaxed pl-1">{parseInline(ulMatch[1])}</li>); listItems.push(<li key={idx} className="leading-relaxed pl-1">{parseInline(ulMatch[1])}</li>);
+1 -1
View File
@@ -157,7 +157,7 @@ const renderMarkdown = (text: string) => {
return; return;
} }
const ulMatch = trimmed.match(/^[-*]\s*(.*)/); const ulMatch = trimmed.match(/^[-*]\s+(.*)/);
if (ulMatch) { if (ulMatch) {
isOrderedList = false; isOrderedList = false;
listItems.push(<li key={idx} className="leading-relaxed pl-2">{parseInline(ulMatch[1])}</li>); listItems.push(<li key={idx} className="leading-relaxed pl-2">{parseInline(ulMatch[1])}</li>);
+1 -1
View File
@@ -192,7 +192,7 @@ function MapNode({ marker, isSelected, hqPos, onSelect, isDark, globeMode, camDi
// Arc height scales with the angle: short arcs stay close to surface, // Arc height scales with the angle: short arcs stay close to surface,
// long arcs (near antipodes) lift high above the globe. // long arcs (near antipodes) lift high above the globe.
// angle ranges from 0 to π. Height factor scales from 0.15 to ~1.4 of RADIUS. // angle ranges from 0 to π. Height factor scales from 0.15 to ~1.4 of RADIUS.
const heightFactor = 0.15 + (angle / Math.PI) * 1.25; const heightFactor = 0.2 + (angle / Math.PI) * 1.6;
const apex = apexDir.multiplyScalar(RADIUS * (1 + heightFactor)); const apex = apexDir.multiplyScalar(RADIUS * (1 + heightFactor));
// ── ARC LINE COLORS & OPACITY ── // ── ARC LINE COLORS & OPACITY ──
+1 -1
View File
@@ -60,7 +60,7 @@ const renderMarkdown = (text: string) => {
return; return;
} }
const ulMatch = trimmed.match(/^[-*]\s*(.*)/); const ulMatch = trimmed.match(/^[-*]\s+(.*)/);
if (ulMatch) { isOrderedList = false; listItems.push(<li key={idx} className="leading-relaxed pl-1">{parseInline(ulMatch[1])}</li>); return; } if (ulMatch) { isOrderedList = false; listItems.push(<li key={idx} className="leading-relaxed pl-1">{parseInline(ulMatch[1])}</li>); return; }
const olMatch = trimmed.match(/^\d+\.\s*(.*)/); const olMatch = trimmed.match(/^\d+\.\s*(.*)/);
+1 -1
View File
@@ -153,7 +153,7 @@ const renderMarkdown = (text: string) => {
return; return;
} }
const ulMatch = trimmed.match(/^[-*]\s*(.*)/); const ulMatch = trimmed.match(/^[-*]\s+(.*)/);
if (ulMatch) { isOrderedList = false; listItems.push(<li key={idx} className="leading-relaxed pl-2">{parseInline(ulMatch[1])}</li>); return; } if (ulMatch) { isOrderedList = false; listItems.push(<li key={idx} className="leading-relaxed pl-2">{parseInline(ulMatch[1])}</li>); return; }
const olMatch = trimmed.match(/^\d+\.\s*(.*)/); const olMatch = trimmed.match(/^\d+\.\s*(.*)/);