From b54b6cce3f18d15e4397078b5492c3cd5758dd36 Mon Sep 17 00:00:00 2001 From: David Featherston Date: Wed, 9 Aug 2023 12:36:19 +1000 Subject: [PATCH] fix(@dpc-sdp/ripple-ui-core): allow tables and media elements to span full width --- packages/ripple-ui-core/src/components/content/RplContent.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/ripple-ui-core/src/components/content/RplContent.css b/packages/ripple-ui-core/src/components/content/RplContent.css index 0b12d05b18..5cf96f6f9b 100644 --- a/packages/ripple-ui-core/src/components/content/RplContent.css +++ b/packages/ripple-ui-core/src/components/content/RplContent.css @@ -6,7 +6,9 @@ letter-spacing: var(--rpl-type-ls-1); @media (--rpl-bp-m) { - max-width: var(--rpl-content-max-width); + > :not(.rpl-media-embed, .rpl-iframe, .rpl-img, .rpl-table) { + max-width: var(--rpl-content-max-width); + } } & > :first-child {