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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user