From ef8755f39d9bd93cdc8f414e515eef91fc43df9e Mon Sep 17 00:00:00 2001 From: Andrew Lorimer Date: Mon, 19 Aug 2019 11:57:04 +1000 Subject: [PATCH] fix options loading bug & drag handle alignment --- options.js | 2 +- style.css | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/options.js b/options.js index 50598de..31ff156 100644 --- a/options.js +++ b/options.js @@ -26,7 +26,7 @@ function restore_options() { document.getElementById('fg').value = items["fgvalue"]; document.getElementById('hr').value = items["hrvalue"]; }); + document.getElementById('save').addEventListener('click', save_options); } document.addEventListener('DOMContentLoaded', restore_options); -document.getElementById('save').addEventListener('click', save_options); diff --git a/style.css b/style.css index 3e56646..c29e55d 100644 --- a/style.css +++ b/style.css @@ -27,6 +27,7 @@ body { flex-direction: row; display: -webkit-flex; -webkit-flex-direction: row; + min-height: 283px; } ul { @@ -65,7 +66,7 @@ input.colname { height: 19px; margin: 14px 0 6px 0; border: 2px var(--hover-bg) dashed; - background-color: var(--default-bg); + background-color: var(inherit); color: inherit; font-family: inherit; } @@ -210,7 +211,7 @@ span.grip { content: '....'; position: relative; right: 20px; - top: 35px; + top: 36px; width: 10px; height: 20px; display: none; -- 2.47.1