-
Notifications
You must be signed in to change notification settings - Fork 100
Open
Copy link
Labels
Description
Describe the bug
Lua-Modules/lua/wikis/commons/MatchGroup/Display/Bracket.lua
Lines 428 to 437 in f3fd98c
| -- Don't emit brkts-header-option if there is only one option. This is | |
| -- because the JavaScript module for changing headers supports only text, | |
| -- and will eat up tags like <abbr>. | |
| if #options > 1 then | |
| for _, option in ipairs(options) do | |
| headerNode:node( | |
| mw.html.create('div'):addClass('brkts-header-option'):wikitext(option) | |
| ) | |
| end | |
| end |
Lua-Modules/stylesheets/commons/Brackets.scss
Lines 87 to 89 in f3fd98c
| .brkts-header-option { | |
| display: none; | |
| } |
Shorter .brkts-header-options are never displayed
To Reproduce
- Open leagueoflegends:Mid-Season Invitational/2025/Bracket Stage
- Observe bracket headers with inner text overflowing
Expected behavior
Bracket header uses shorter options instead of overflowing
Screenshots
