.mediaBBCode {
	display: table;
	max-width: 100%;
	
	.mediaBBCodeCaption {
		color: $wcfContentDimmedText;
		// https://stackoverflow.com/a/11652170/782822
		display: table-caption;
		caption-side: bottom;
		margin-top: 5px;
		text-align: center;
		
		@include wcfFontSmall;
		
		.mediaBBCodeCaptionAlignment {
			// https://stackoverflow.com/a/43627669/782822
			display: inline-block;
			text-align: justify;
		}
	}
	
	video {
		max-width: 100%;
	}
}

/* workaround for broken iframes without height on mobile */
iframe.instagram-media {
	min-height: 530px;
}

.mediaBBCode {
	display: inline-table;
	max-width: 100%;
	
	.mediaBBCodeCaption {
		color: $wcfContentDimmedText;
		// https://stackoverflow.com/a/11652170/782822
		display: table-caption;
		caption-side: bottom;
		margin-top: 5px;
		text-align: center;
		
		@include wcfFontSmall;
		
		.mediaBBCodeCaptionAlignment {
			// https://stackoverflow.com/a/43627669/782822
			display: inline-block;
			text-align: justify;
		}
	}
	
	video {
		max-width: 100%;
	}
}

/* workaround for broken iframes without height on mobile */
iframe.instagram-media {
	min-height: 530px;
}

Use `display: inline-table` to mimic the previous behavior
Use `display: inline-table` to mimic the previous behavior

The commit 9b6a008c7c15ce8fb61e45f6e592421af9c3dc54 introduced `table` instead of `inline-block`.
