From 92ec603f2fc9b636e0e3ac403624da6d329ffba1 Mon Sep 17 00:00:00 2001 From: hjpalpha <75081997+hjpalpha@users.noreply.github.com> Date: Mon, 16 Dec 2024 10:54:28 +0100 Subject: [PATCH] fix(match2): GameComment overflowing matchsummary box (#5203) * fix(match2): GameCOmment overflowing matchsummary box * linter: line length --- .../match/summary/widget_match_summary_game_comment.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/components/widget/match/summary/widget_match_summary_game_comment.lua b/components/widget/match/summary/widget_match_summary_game_comment.lua index 6f08f1a83c5..447a927c2c0 100644 --- a/components/widget/match/summary/widget_match_summary_game_comment.lua +++ b/components/widget/match/summary/widget_match_summary_game_comment.lua @@ -25,7 +25,11 @@ function MatchSummaryGameComment:render() end return HtmlWidgets.Fragment{children = { MatchSummaryBreak{}, - HtmlWidgets.Div{css = {margin = 'auto'}, classes = self.props.classes, children = self.props.children}, + HtmlWidgets.Div{ + css = {margin = 'auto', ['max-width'] = '100%'}, + classes = self.props.classes, + children = self.props.children + }, }} end