@luckydraw/cumulus 0.27.27 → 0.27.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -45,7 +45,9 @@
|
|
|
45
45
|
// ─── Styles ─────────────────────────────────────────────────────────────────
|
|
46
46
|
var STYLES = [
|
|
47
47
|
'.cumulus-widget * { box-sizing: border-box; }',
|
|
48
|
-
'.cumulus-widget *:not(
|
|
48
|
+
'.cumulus-widget *:not(.blex-block-container *) { margin: 0; padding: 0; }',
|
|
49
|
+
'.blex-block-container * { margin: revert; padding: revert; line-height: revert; list-style: revert; border-spacing: revert; }',
|
|
50
|
+
'.blex-block-container { isolation: isolate; }',
|
|
49
51
|
|
|
50
52
|
'.cumulus-widget {',
|
|
51
53
|
' font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;',
|
|
@@ -1017,7 +1019,8 @@
|
|
|
1017
1019
|
' .cumulus-msg.user { max-width: 85%; }',
|
|
1018
1020
|
|
|
1019
1021
|
/* Tables scroll horizontally */
|
|
1020
|
-
' .cumulus-msg table { display: block; overflow-x: auto; white-space: nowrap; }',
|
|
1022
|
+
' .cumulus-msg table:not(.blex-block-container table) { display: block; overflow-x: auto; white-space: nowrap; }',
|
|
1023
|
+
' .blex-block-container table { display: table; overflow-x: visible; white-space: normal; }',
|
|
1021
1024
|
|
|
1022
1025
|
/* Code blocks: ensure horizontal scroll works */
|
|
1023
1026
|
' .code-block-wrapper pre { font-size: 0.85em; }',
|