diff --git a/NEWS.md b/NEWS.md index 4162aa6..b39afbb 100644 --- a/NEWS.md +++ b/NEWS.md @@ -10,6 +10,8 @@ [http://mdo.github.io/code-guide/#css-syntax](http://mdo.github.io/code-guide/#css-syntax)) * Indent JavaScript using twp space soft tabs (per [https://github.com/styleguide/javascript](https://github.com/styleguide/javascript)) * Update HTML elements per aforementioned style guide +* Changed code indentation to two spaces (was four spaces) +* Removed keyboard shortcut ## 1.1.3 ## diff --git a/css/style.css b/css/style.css index eea2c15..6bec1e0 100644 --- a/css/style.css +++ b/css/style.css @@ -11,16 +11,17 @@ .html-skeleton-modal-body { overflow-x: hidden; } /* Hide loaded image details and path */ -#img-header, #img-path { display: none; } +#img-header, +#img-path { display: none; } /* Position the image on the right */ #img-preview { + position: relative; + right: -60px; + bottom: 30px; width: 270px; height: 270px; float: right; - position: relative; - bottom: 30px; - right: -60px; } /* Shift the dialog content (excluding the image) up */ @@ -44,10 +45,10 @@ /* Accommodate the "Full HTML skeleton" description */ #full-skelly-description { - font-size: 12px; - display: inline-block; position: relative; bottom: 5px; + display: inline-block; + font-size: 12px; } /* Enlarge the "x" between image dimensions */ diff --git a/main.js b/main.js index 68d75a2..4e838b1 100644 --- a/main.js +++ b/main.js @@ -44,8 +44,9 @@ define(function (require, exports, module) { /* ------- Begin Available HTML Elements ------- */ - // Assign a variable for 4 space indentation for easier coding - var fourSpaceIndent = "\u0020\u0020\u0020\u0020"; + // Assign a variable for 2 space indentation for easier coding + // FUTURE Replace with Sprint 37 prefs system + var twoSpaceIndent = "\u0020\u0020"; // Placeholder variables for image size var $imgWidth = 0, @@ -53,9 +54,9 @@ define(function (require, exports, module) { var skellyBones = [ // Only the head and body tags + title and meta - '\n\n
\n' + fourSpaceIndent + - '\n' + fourSpaceIndent + '