Changes

m
no edit summary
Line 204: Line 204:  
                split = mw.ustring.find(resource, '/')
 
                split = mw.ustring.find(resource, '/')
 
                local amount = mw.ustring.sub(resource, split + 1)
 
                local amount = mw.ustring.sub(resource, split + 1)
                resource = Formatting:format_image{mw.ustring.sub(resource, 1, split - 1) .. ".png", caption = mw.ustring.sub(resource, 1, split - 1)}
+
                resource = Formatting:format_image{mw.ustring.sub(resource, 1, split - 1) .. ".png", caption = mw.ustring.sub(resource, 1, split - 1), size = "22x22px"}
 
                 table.insert(self._rows, format{self._resource_node_template, values = { node = node, amount = amount, resource = resource } })
 
                 table.insert(self._rows, format{self._resource_node_template, values = { node = node, amount = amount, resource = resource } })
 
            end
 
            end
48

edits