fix(marketing): bento autoescape + dead col-span + test gaps

- Pipe macro title/description through | safe to render NBSP/& correctly
  (autoescape was producing literal '95 %+' and 'Q&R' text on screen)
- Replace dynamic col-span-{{ span }} with static lookup table so Tailwind
  scanner generates the utilities for A-2.7+ reuse
- Replace inline border style with border-white/[0.045] utility (codebase consistency)
- Add explicit Q&R assertion + autoescape regression guard test
This commit is contained in:
Allison
2026-04-27 18:19:56 -04:00
parent 775075d1ea
commit b87f35ea4a
3 changed files with 39 additions and 5 deletions

View File

@@ -497,6 +497,9 @@
.z-\[9999\] {
z-index: 9999;
}
.col-span-1 {
grid-column: span 1 / span 1;
}
.container {
width: 100%;
@media (width >= 40rem) {
@@ -3669,6 +3672,11 @@
opacity: 50%;
}
}
.sm\:col-span-2 {
@media (width >= 40rem) {
grid-column: span 2 / span 2;
}
}
.sm\:-mx-6 {
@media (width >= 40rem) {
margin-inline: calc(var(--spacing) * -6);
@@ -4000,6 +4008,11 @@
}
}
}
.md\:col-span-3 {
@media (width >= 48rem) {
grid-column: span 3 / span 3;
}
}
.md\:mb-2 {
@media (width >= 48rem) {
margin-bottom: calc(var(--spacing) * 2);