Commit 5239f32
authored
test(home): assert the hero logo keeps shrink-0 by class token (#117)
The assertion matched the whole class attribute as one string, so #115
adding `self-center sm:self-auto` for mobile stacking broke it even though
the invariant it guards still held. The logo must keep `shrink-0` so the
hero's flex row cannot squash it; responsive alignment classes around it are
free to change.
Verified the assertion still fails when shrink-0 is actually removed.1 parent c19b0bc commit 5239f32
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
62 | 66 | | |
63 | 67 | | |
64 | 68 | | |
| |||
331 | 335 | | |
332 | 336 | | |
333 | 337 | | |
334 | | - | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
335 | 341 | | |
336 | 342 | | |
337 | 343 | | |
| |||
0 commit comments