(Simplify game card image CSS) |
(Target exact HTML structure: .game-card > p > a > img) |
||
| Line 1: | Line 1: | ||
/* Game card grid - make thumbnails fill card width */ | /* Game card grid - make thumbnails fill card width */ | ||
.game-card a | .game-card > p { | ||
margin: 0 !important; | |||
padding: 0 !important; | |||
line-height: 0 !important; | |||
} | |||
.game-card > p > a > img { | |||
width: 100% !important; | width: 100% !important; | ||
height: auto !important; | height: auto !important; | ||
max-width: | max-width: 100% !important; | ||
} | } | ||
Revision as of 09:53, 18 February 2026
/* Game card grid - make thumbnails fill card width */
.game-card > p {
margin: 0 !important;
padding: 0 !important;
line-height: 0 !important;
}
.game-card > p > a > img {
width: 100% !important;
height: auto !important;
max-width: 100% !important;
}