48,407
edits
No edit summary |
No edit summary |
||
| Line 316: | Line 316: | ||
end | end | ||
local result = Array('<div | local result = Array('<div style="font-family: monospace; font-size: 1.25em; white-space: nowrap;"><ul style="list-style: none; margin: 0; padding: 0;">') | ||
local tree_options = { | local tree_options = { | ||
| Line 350: | Line 350: | ||
-- top toggle | -- top toggle | ||
local customcollapsible_id = get_customcollapsible_id() | local customcollapsible_id = get_customcollapsible_id() | ||
result:insert('<span class=" | result:insert('<span class="mw-customtoggle-' | ||
.. customcollapsible_id .. '" style="display: none;">') | .. customcollapsible_id .. '" style="display: none; margin-left: 1ch;">') | ||
result:insert(options.collapsed and expandtext or collapsetext) | result:insert(options.collapsed and expandtext or collapsetext) | ||
result:insert('</span>') | result:insert('</span>') | ||