Skip to content

Commit

Permalink
change to widget
Browse files Browse the repository at this point in the history
  • Loading branch information
Rathoz committed Oct 19, 2024
1 parent 80c6555 commit b127d8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/match2/wikis/dota2/match_summary.lua
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function CustomMatchSummary._createGame(game, gameIndex)
if Logic.isNotEmpty(game.comment) then
comment = {
MatchSummary.Break():create(),
mw.html.create('div'):wikitext(game.comment):css('margin', 'auto')
HtmlWidgets.Div{css = {margin = 'auto'}, children = game.comment},
}
end

Expand Down

0 comments on commit b127d8e

Please sign in to comment.