OOKNET                             [ /  search the index  ]  
──────────────────────────────────────────────────────────────────────────────────────
══════════════════════════════════════════════════════════════════════════════════════
OOKNET   [ /  search  ]  
────────────────────────────────────────────────
════════════════════════════════════════════════
 
HASH      e2c6644b48d4
DATE      2026-07-17
SUBJECT   web: diff component imports prose styles so the copy button seats in the
          border
FILES     1 CHANGED
HASH      e2c6644b48d4
DATE      2026-07-17
SUBJECT   web: diff component imports prose
          styles so the copy button seats in the
          border
FILES     1 CHANGED
 

diff --git a/ooknet-design/src/components/Diff/Diff.astro b/ooknet-design/src/comp
onents/Diff/Diff.astro
index 75072ce..449f4d1 100644
--- a/ooknet-design/src/components/Diff/Diff.astro
+++ b/ooknet-design/src/components/Diff/Diff.astro
@@ -6,6 +6,10 @@
 import { G } from "../../lib/ascii";
 import { FRAME_W, MOBILE_FRAME_W } from "../../lib/config";
 import { layoutDiff, type Props } from "./Diff";
+// The wrapper carries .prose so these selectors match - without the
+// import, pages that never render Prose leave the copy button and
+// diff classes unstyled.
+import "../Prose/Prose.scss";
 
 const { code } = Astro.props as Props;
 const raw = code.replace(/\n+$/, "");

diff --git a/ooknet-design/src/components/Di
ff/Diff.astro b/ooknet-design/src/components
/Diff/Diff.astro
index 75072ce..449f4d1 100644
--- a/ooknet-design/src/components/Diff/Diff
.astro
+++ b/ooknet-design/src/components/Diff/Diff
.astro
@@ -6,6 +6,10 @@
 import { G } from "../../lib/ascii";
 import { FRAME_W, MOBILE_FRAME_W } from "..
/../lib/config";
 import { layoutDiff, type Props } from "./D
iff";
+// The wrapper carries .prose so these sele
ctors match - without the
+// import, pages that never render Prose le
ave the copy button and
+// diff classes unstyled.
+import "../Prose/Prose.scss";
 
 const { code } = Astro.props as Props;
 const raw = code.replace(/\n+$/, "");
 
[ BACK TO LOG ]
──────────────────────────────────────────────────────────────────────────────────────
OOKNET
────────────────────────────────────────────────
OOKNET