Skip to content

Commit

Permalink
Improving the width so they fit on smaller screens.
Browse files Browse the repository at this point in the history
The desktop view was way wider than it needed to be. Bumped it down.
  • Loading branch information
garrettdimon committed Oct 25, 2016
1 parent f304f46 commit 8d74ba7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions previews.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
padding: 24px;
/* Width is just big enough to fit desktop and mobile views side-by-side */
width: 1288px;
width: 1128px;
}
a {
color: #137FC9;
Expand Down Expand Up @@ -148,7 +148,7 @@ <h1>MailMason Template Previews</h1>

// Build the wide iframe preview for wide view of the template
var wide_preview = document.createElement("iframe");
wide_preview.setAttribute('width', '800')
wide_preview.setAttribute('width', '640')
wide_preview.setAttribute('height', '800')
wide_preview.setAttribute('src', "dist/" + key + ".html")
previews.appendChild(wide_preview);
Expand All @@ -162,7 +162,7 @@ <h1>MailMason Template Previews</h1>

// Build the wide iframe preview for wide view of the template
var wide_preview = document.createElement("iframe");
wide_preview.setAttribute('width', '800')
wide_preview.setAttribute('width', '640')
wide_preview.setAttribute('height', '400')
wide_preview.setAttribute('src', "dist/" + key + ".txt")
previews.appendChild(wide_preview);
Expand Down

0 comments on commit 8d74ba7

Please sign in to comment.