Content deleted Content added
No edit summary |
No edit summary |
||
Line 153:
}
local calc = '<div class="calculatorwidget calculator-container" style="display:grid;grid-template-columns:repeat(4, 1fr);grid-gap:5px;min-width:256px;width:20ch;border:thin solid gray;padding: 5px; background: #eee">'
-- On Calculator page, we want to show the layout of buttons on print, but -- not the answer field. .. '<div style="grid-column:1/5; for i, v in ipairs(buttons) do
local type = v[1] == 'C' and 'destructive' or 'default'
|