| 1 | .mediaBBCode { |
| 2 | display: inline-table; |
| 3 | max-width: 100%; |
| 4 | |
| 5 | .mediaBBCodeCaption { |
| 6 | color: $wcfContentDimmedText; |
| 7 | // https://stackoverflow.com/a/11652170/782822 |
| 8 | display: table-caption; |
| 9 | caption-side: bottom; |
| 10 | margin-top: 5px; |
| 11 | text-align: center; |
| 12 | |
| 13 | @include wcfFontSmall; |
| 14 | |
| 15 | .mediaBBCodeCaptionAlignment { |
| 16 | // https://stackoverflow.com/a/43627669/782822 |
| 17 | display: inline-block; |
| 18 | text-align: justify; |
| 19 | } |
| 20 | } |
| 21 | |
| 22 | video { |
| 23 | max-width: 100%; |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | /* workaround for broken iframes without height on mobile */ |
| 28 | iframe.instagram-media { |
| 29 | min-height: 530px; |
| 30 | } |