@import 'mediawiki.ui/variables';

// Override for minerva's "hack.less" that tries to fix Template:Multiple_image
@media all and ( max-width: @width-breakpoint-tablet ) {
	.content .mw-kartographer-container.thumb .thumbinner {
		// Override the 'flex' rules
		display: block;
		flex-wrap: unset;

		justify-content: inherit;
		align-content: normal;

		> .thumbcaption {
			display: block;
		}
	}

}

@import 'mediawiki.ui/variables';

// Override for MinervaNeue's "hack.less" that tries to fix Template:Multiple_image
@media all and ( max-width: @width-breakpoint-tablet ) {
	.content .mw-kartographer-container.thumb .thumbinner {
		// Override the 'flex' rules
		display: block;
		flex-wrap: unset;

		justify-content: inherit;
		align-content: normal;

		> .thumbcaption {
			display: block;
		}
	}
}

// Override for MinervaNeue's "common.less" rule that specifically
// enforces width: 320px for thumbs, which means that thumb/maps that
// are set for width=100% are overrided and remain small. We need
// to override that override.
@media screen and ( min-width: @width-breakpoint-tablet ) {
	.content .mw-kartographer-container.mw-kartographer-full.thumb {
		width: 100%;
	}
}

Fix thumb with full width in MinervaNeue
Fix thumb with full width in MinervaNeue

Bug: T192251
Change-Id: I09e340be2cf4ee38834e4ed613dc7df972b0a7fd
