Module:ItemBox: Difference between revisionsGive feedback
Jump to navigation
Jump to search
Halfass solution for somewhat scaling the text on ItemBox |
m added a min font size. |
||
| Line 53: | Line 53: | ||
fontSize = fullSize - (longestLine - 8) * 1 | fontSize = fullSize - (longestLine - 8) * 1 | ||
end | end | ||
fontSize = math.max(6, fontSize) | |||
return fontSize | return fontSize | ||