diff --git a/app/globals.css b/app/globals.css index ad79ed694..1c6012bcb 100644 --- a/app/globals.css +++ b/app/globals.css @@ -262,11 +262,19 @@ } .chat-card-x-scroll { + min-width: 0; + max-width: 100%; + -webkit-overflow-scrolling: touch; scrollbar-gutter: stable; scrollbar-width: thin; scrollbar-color: rgba(148, 163, 184, 0.42) rgba(148, 163, 184, 0.14); } + .chat-card-x-scroll > table, + .chat-card-x-scroll > svg { + max-width: none; + } + .chat-card-x-scroll::-webkit-scrollbar { width: 10px; height: 10px; diff --git a/components/elements/openclaw-chart-card.tsx b/components/elements/openclaw-chart-card.tsx index e758b20f2..6d2848d2f 100644 --- a/components/elements/openclaw-chart-card.tsx +++ b/components/elements/openclaw-chart-card.tsx @@ -290,7 +290,7 @@ export function OpenClawChartCard({ chart }: { chart: OpenClawChartSpec }) { }; return ( -