Commit 511e973
committed
Normalise gallery card thumbnail height
Gallery cards previously inherited each thumbnail's native aspect
ratio, producing uneven card heights. Pin .sd-card-img-top to a
fixed 200px box with `object-fit: contain` on a white background so
images centre inside a uniform slot regardless of source dimensions.1 parent 350d4e5 commit 511e973
1 file changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
0 commit comments