Apps Script Web App elements are too small when viewed on a phone

As written in view-port meta tag documentation,

Meta tags included directly in an Apps Script HTML file are ignored. Only the following meta tags are allowed.

So, add the meta tag server side:

return HtmlService
        .createHtmlOutputFromFile('index')
        .addMetaTag('viewport', 'width=device-width, initial-scale=1');

Leave a Comment