Module:Side box/sandbox: Difference between revisions

Content deleted Content added
Add a property to make contents proper display on mobile phone
Tags: Reverted Mobile edit Mobile web edit Advanced mobile edit
Syncing sandbox code with main template (sync-template-sandbox.js)
Line 74:
for i, class in ipairs(data.classes or {}) do
root:addClass(class)
root:addClass('noresize')
end
root:css{border = '1px solid #aaa', ['background-color'] = '#f9f9f9', color = '#000', display = 'table'}
if data.style then
root:cssText(data.style)