Module:UpdateExcerpt: Difference between revisionsGive feedback
No edit summary Tags: Mobile edit Mobile web edit |
Added __NOEDITSECTION__ so the preview no longer shows edit buttons |
||
| Line 46: | Line 46: | ||
local maxHeight = maxLines * 1.7 | local maxHeight = maxLines * 1.7 | ||
local html = '<div style="flex:1; min-height:0; overflow-y:auto; max-height:' | |||
.. maxHeight | |||
.. 'em; padding:14px 18px; font-family: sans-serif; font-size:0.92em; line-height:1.7;">\n' | |||
.. '__NOEDITSECTION__\n' | |||
.. frame:preprocess(notesRaw) | |||
.. '\n</div>' | |||
return html | return html | ||