diff --git a/css/options.css b/css/options.css index f7de3a8..8032549 100644 --- a/css/options.css +++ b/css/options.css @@ -2,7 +2,6 @@ body { color: #212121; font-family: Roboto, Arial, sans-serif; font-size: 16px; - font-weight: 500; padding: 16px; background-color: #fafafa; @@ -78,7 +77,7 @@ button { padding: 8px 16px; outline: none; border: none; - margin: 16px auto 0 auto; + margin: 24px auto 0 auto; box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.14), 0 2px 2px 0 rgba(0, 0, 0, 0.098), 0 1px 5px 0 rgba(0, 0, 0, 0.084); } diff --git a/js/localise.js b/js/localise.js index 9bccd07..2c241f8 100644 --- a/js/localise.js +++ b/js/localise.js @@ -22,4 +22,4 @@ function localiseHtmlPage() { } } -localiseHtmlPage(); \ No newline at end of file +localiseHtmlPage(); diff --git a/js/options.js b/js/options.js index 6161ecc..f02b662 100644 --- a/js/options.js +++ b/js/options.js @@ -9,7 +9,7 @@ const load = function () { return new Promise(function (resolve) { chrome.storage.sync.get('options', function (storage) { // Get and save options - options = storage.options || defaultOptions; + options = storage.options || Object.assign({}, defaultOptions); // Show and resolve show(options);