Skip to content

Commit 87c4394

Browse files
authored
Merge pull request #4 from Cranmellar/feat/z-oscillation
style: declutter Lissajous preview and side panels
2 parents 7cad04a + 5190fb8 commit 87c4394

2 files changed

Lines changed: 3 additions & 11 deletions

File tree

src/components/LissajousPreview.tsx

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -150,12 +150,12 @@ export function LissajousPreview({ params }: Props) {
150150

151151
// Metrics caption
152152
ctx.save();
153-
ctx.font = '700 8px GSCode, monospace';
154-
ctx.fillStyle = 'rgba(15,15,20,0.32)';
153+
ctx.font = '700 12px GSCode, monospace';
154+
ctx.fillStyle = 'rgba(15,15,20,0.45)';
155155
ctx.textAlign = 'left';
156156
ctx.fillText(
157157
`N ${lissAmpN.toFixed(1)}mm λ${lissWlN}mm T ${lissAmpT.toFixed(1)}mm λ${lissWlT}mm δ${(lissDelta * 180 / Math.PI).toFixed(0)}°`,
158-
8, H - 7,
158+
10, H - 9,
159159
);
160160
ctx.restore();
161161
}, [params]);
@@ -182,10 +182,6 @@ export function LissajousPreview({ params }: Props) {
182182

183183
return (
184184
<div style={{ display: 'flex', flexDirection: 'column', height: '100%' }}>
185-
<div className="toolbar">
186-
<span className="toolbar-title">Marco del extrusor</span>
187-
<span className="toolbar-hint">T = tangente · N = normal · punto = dirección</span>
188-
</div>
189185
<canvas ref={canvasRef} className="lissajous-canvas" style={{ flex: 1 }} />
190186
</div>
191187
);

src/index.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ html, body, #root { height: 100%; overflow: hidden; }
119119
.app-banner {
120120
flex-shrink: 0;
121121
padding: 14px 16px 10px;
122-
border-bottom: 2px solid var(--ink);
123122
}
124123
.app-banner img {
125124
width: 100%;
@@ -273,10 +272,8 @@ html, body, #root { height: 100%; overflow: hidden; }
273272
/* ── Sections — Swiss chapter structure ──────────────────────────────────── */
274273
.section {
275274
padding: 0 0 6px;
276-
border-top: 1.5px solid var(--ink); /* chapter rule */
277275
margin-top: 0;
278276
}
279-
.section:first-child { border-top: none; }
280277
.section:last-child { padding-bottom: 10px; }
281278

282279
.section-title {
@@ -363,7 +360,6 @@ html, body, #root { height: 100%; overflow: hidden; }
363360
text-transform: uppercase;
364361
letter-spacing: 0.22em;
365362
color: var(--ink);
366-
border-bottom: 2px solid var(--ink); /* strong Swiss rule */
367363
}
368364

369365
/* ── Buttons — rectangular, border-based ─────────────────────────────────── */

0 commit comments

Comments
 (0)