MediaWiki:Common.css: Difference between revisions

no edit summary
No edit summary
Tag: Manual revert
No edit summary
Line 1,176: Line 1,176:


/* Make the first image span full width in a 3-image layout (2x1 + 1x2) */
/* Make the first image span full width in a 3-image layout (2x1 + 1x2) */
.tweet-media.count-3 a:first-child { grid-column: 1 / -1; }
.tweet-media.count-3 > :first-child { grid-column: 1 / -1; }


/* Ensure images fill their grid cell */
/* Ensure images fill their grid cell */