From 961290a12f226c7d753cc8911602b8eb818dec09 Mon Sep 17 00:00:00 2001 From: Thomas Jung Date: Tue, 10 Nov 2026 15:27:32 -0500 Subject: [PATCH] fix(directive-demos): prereq card CSS, tested-with panel, image hotspots, Joule footer scope MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Four demo-tutorial features were broken (verified in live browser, not just HTML): 1. Prereq card (::requires) rendered 0x0 — .tut-prereq-card/.prereq-* had NO CSS rule in any shipped stylesheet. Added rules to directives-ui.css (bundled). 2. "Tested with" panel never appeared — render-frontmatter.ts emits the testedWith param but nothing invoked the shortcode. Render it inline in u1-object-page.html from .Params.testedWith + added .tut-tested-with CSS. 3. Image hotspots (![](img){hotspots="..."}) leaked as raw text — goldmark only attaches {attr} blocks to BLOCK elements, not inline images. images.ts now moves a standalone image's trailing {...} onto the next line so goldmark attaches it and render-image.html emits the .tut-hotspot overlay anchors. In-prose images left untouched. +4 unit tests. 4. Joule chat input spanned the whole viewport — the autohide-footer rule in ui5-overrides.css targeted a bare `footer` descendant, which also matched the Joule panel's nested