diff --git a/Docs/WritingSolver/CuratedV2/CleanResultUrls/CanvasFix.md b/Docs/WritingSolver/CuratedV2/CleanResultUrls/CanvasFix.md new file mode 100644 index 00000000..b9fc0f1c --- /dev/null +++ b/Docs/WritingSolver/CuratedV2/CleanResultUrls/CanvasFix.md @@ -0,0 +1,19 @@ +# Permanent result visual canvas correction + +Baseline `394f7c5`; Development runtime fix `ea04dcd`. + +Root cause: `public-site.css` constrains non-article children of the public main element to 1168px (with narrower responsive limits). The solver's exemption matched only `section.solver-space`. The interactive Index uses a section, but the shared permanent Page uses a div, so permanent backgrounds inherited the article-width constraint. + +Changed the shared selector to `main.marketing-shell > .solver-space`, removing its element-name dependency. The visual canvas now fills its parent; `.solver-content` still limits result content to 930px and entry content to 1000px. Existing background positioning, gradients, mobile rules, typography, recommendation components, URLs and metadata remain unchanged. All 52 diagnosis pages use this shared Page/class and receive the correction. + +Verification: +- `dotnet build PlotLine.slnx` passed (two existing nullable warnings). +- Focused Playwright checks passed first with candidate CSS and then against the deployed site at 390, 768, 1440 and 1920px. +- Verified `/writing-problems/comparing-different-story-versions`, `/writing-problems/too-many-storylines-to-manage`, plus `/writing-problems/storyline-disappears-for-too-long` at 1920px. +- Canvas bounds span the viewport; result content stays <=930px; no horizontal overflow. Screenshots inspected at mobile and 1920px show the outer imagery fading into the reading column without the previous vertical container boundary. +- Entry `/writing-problems` and interactive question pages retain full-width backgrounds and no overflow at all four widths. +- No engine, content, recommendation, SEO or routing files changed. No database writes. Full solver semantic harness was not repeated for this CSS-only correction. + +Deployment: `/srv/apps/plotdirector-dev/releases/ea04dcd-20261101T221410Z`; previous application retained in the corresponding `current-before` directory. Read-only Development checks found no active/queued import or analysis work before restart. Service active; local and TLS-validated public GETs 200; no warning/error journal entries during verification. Published/deployed DLL SHA-256 matched `63a32e0ee16578dda98dd3100022626c52e53c77fff018809962d9914ba053c3`. + +Production unchanged. Development noindex configuration retained.