Skip to content

Commit

Permalink
Add css class to header icons
Browse files Browse the repository at this point in the history
  • Loading branch information
Rathoz committed Sep 21, 2023
1 parent 7e404ac commit 1220983
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/match2/wikis/apexlegends/match_summary.lua
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function CustomMatchSummary._createHeader(match)
:addClass('panel-tabs__list-item')
:attr('role', 'tab')
:attr('tabindex', 0)
:tag('i'):addClass(icon):done()
:tag('i'):addClass('panel-tabs__list-icon'):addClass(icon):done()
:tag('h4'):addClass('panel-tabs__title'):wikitext(title):done()
end
local header = mw.html.create('ul'):addClass('panel-tabs__list'):attr('role', 'tablist')
Expand Down

0 comments on commit 1220983

Please sign in to comment.