Module:UpdateExcerpt: Difference between revisions

Jump to navigation Jump to search
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:'
local html = '<div style="flex:1; min-height:0; overflow-y:auto; max-height:'
        .. maxHeight
    .. maxHeight
        .. 'em; padding:14px 18px; font-family: sans-serif; font-size:0.92em; line-height:1.7;">\n'
    .. 'em; padding:14px 18px; font-family: sans-serif; font-size:0.92em; line-height:1.7;">\n'
        .. frame:preprocess(notesRaw)
    .. '__NOEDITSECTION__\n'
        .. '\n</div>'
    .. frame:preprocess(notesRaw)
    .. '\n</div>'


     return html
     return html