• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Changes

Jump to navigation Jump to search
no edit summary
Line 61: Line 61:  
_detailed_end = '</span>',
 
_detailed_end = '</span>',
 
_display_none_style = " display: none;",
 
_display_none_style = " display: none;",
 +
_name_style = {["max-width"] = "150px"},
 
_detailed_columns = 1,
 
_detailed_columns = 1,
 
_detail_toggle = '<p id="eliteshipskai-detailed-toggle" class="eliteshipskai-detailed-toggle hidden" style="display: none;">[[#eliteshipskai-detailed-toggle|Show details]][[#eliteshipskai-detailed-hidden|Hide details]]</p>',
 
_detail_toggle = '<p id="eliteshipskai-detailed-toggle" class="eliteshipskai-detailed-toggle hidden" style="display: none;">[[#eliteshipskai-detailed-toggle|Show details]][[#eliteshipskai-detailed-hidden|Hide details]]</p>',
Line 89: Line 90:  
table.insert(value, self._detailed_end)
 
table.insert(value, self._detailed_end)
 
end
 
end
return {values = {value = table.concat(value)}, bg_color = self._transparent, text_align = self._center_align}
+
return {values = {value = Formatting:inline_block(table.concat(value), nil, self._name_style)}, bg_color = self._transparent, text_align = self._center_align}
 
end
 
end
  
Anonymous user

Navigation menu