MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
.card-img-top { | .card-img-top { | ||
object-fit: contain !important; /* Forces the whole image to show */ | |||
width: 100%; | |||
height: 200px; /* You might need to match the extension's default height */ | |||
background-color: #f8f9fa; /* Optional: Adds a background color to the empty space */ | |||
} | } | ||
Revision as of 02:46, 27 January 2026
.card-img-top {
object-fit: contain !important; /* Forces the whole image to show */
width: 100%;
height: 200px; /* You might need to match the extension's default height */
background-color: #f8f9fa; /* Optional: Adds a background color to the empty space */
}