diff --git a/development/docs-template.ejs b/development/docs-template.ejs index f3915ad923..4e5b2b5b51 100644 --- a/development/docs-template.ejs +++ b/development/docs-template.ejs @@ -46,6 +46,7 @@ display: flex; max-width: 600px; margin: 0 auto; + justify-content: space-between; } nav a { display: flex; @@ -95,6 +96,18 @@ } } + .view-in-browser { + display: none; + } + .is-desktop .view-in-browser { + display: flex; + } + .is-desktop nav > div, .is-desktop .container { + /* Desktop app shows this page in a window, not a browser tab, so don't need to */ + /* restrict the width of the content for readability. */ + max-width: 100%; + } + code { background-color: #eee; border-radius: 4px; @@ -133,10 +146,15 @@