Skip to content

armgit / bygga

Public Imported from GitHub
0

IKEA assembly, step by step: animated, manual-style 3D guides. Scan any paper manual with Together AI.

TypeScript

Hovered rows keep their outline; Stuck? reads like the key hint

Youssef3dc8624a5c69
diff --git a/src/app/guide.css b/src/app/guide.css
index 1a701b4..d080e0b 100644
--- a/src/app/guide.css
+++ b/src/app/guide.css
@@ -646,6 +646,15 @@
.foot-row .btn.link {
font-size: 14.5px;
}
+.foot-row .btn.link.stuck {
+ gap: 6px;
+ text-decoration: none;
+ font-size: 13px;
+ color: var(--ink-3);
+}
+.foot-row .btn.link.stuck:hover {
+ color: var(--ink);
+}
.kbd-hint {
font-size: 13px;
color: var(--ink-3);
@@ -1468,7 +1477,8 @@ input[type="range"] {
margin: 0;
padding: 0;
border-radius: 16px;
- box-shadow: inset 0 0 0 1px var(--line);
+ /* a real border: an inset shadow sits under the rows, so a hovered row would paint over it */
+ border: 1px solid var(--line);
overflow: hidden;
}
.needs li {
diff --git a/src/app/scan.css b/src/app/scan.css
index 11f7efb..dd7ff3f 100644
--- a/src/app/scan.css
+++ b/src/app/scan.css
@@ -311,6 +311,7 @@
box-shadow: none;
border: 1.5px dashed var(--line-2);
gap: 0;
+ overflow: hidden;
}
.pg-add button {
display: flex;
diff --git a/src/components/guide/StepPanel.tsx b/src/components/guide/StepPanel.tsx
index 3f7d7e3..8630e62 100644
--- a/src/components/guide/StepPanel.tsx
+++ b/src/components/guide/StepPanel.tsx
@@ -202,7 +202,7 @@ export default function StepPanel({
</button>
<div className="foot-row">
<button className="btn link stuck" onClick={onHelp}>
- <IHelp size={17} /> Stuck?
+ <IHelp size={16} /> Stuck?
</button>
<span className="kbd-hint" aria-hidden="true">
<kbd>&larr;</kbd>