From a923b9eac1daf319bd0f59ef669d02b1aaf39406 Mon Sep 17 00:00:00 2001 From: Ahmad Assaf Date: Mon, 9 Mar 2015 15:24:44 +0100 Subject: [PATCH] fixing list CSS styles (width and list style) --- booklight.js | 6 ++++-- css/booklight.css | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/booklight.js b/booklight.js index 96fb31c..fd69f02 100644 --- a/booklight.js +++ b/booklight.js @@ -109,7 +109,7 @@ var booklight = function booklight() { // Get the bookmarks folders from the local storage chrome.storage.local.get("booklightFolders", function(bookmarks) { - booklight.fuzzyFolderSearch = new Fuse(bookmarks.booklightFolders, { keys: ['title'], threshold: 0.4}); + booklight.fuzzyFolderSearch = new Fuse(bookmarks.booklightFolders, { keys: ['title'], threshold: 0.3}); bookmarks.booklightFolders.forEach(function(bookmark){ booklight.foldersDOM += '
  • ') === -1) return true; diff --git a/css/booklight.css b/css/booklight.css index 7452755..6a8b0a7 100644 --- a/css/booklight.css +++ b/css/booklight.css @@ -12,7 +12,7 @@ .booklight input[type="text"]::-webkit-input-placeholder {color: #BEB9B9;} .booklight input[type="text"]:focus{border:none;box-shadow: none} .booklight_list {position: relative;overflow-y: scroll;height: 215px;list-style: none;width: 96%;padding: 0 5px 0 0;color: #777; margin: 0 auto;} -.booklight_list>li{margin: 0; padding: 0 5px; cursor:pointer;line-height: 1.5em;font-size: 13px; text-align: left} +.booklight_list>li{margin: 0; padding: 0 5px; cursor:pointer;line-height: 1.5em;font-size: 13px; text-align: left; list-style: none; width:100%;} .booklight_list > li > img {vertical-align: middle;margin: 0 10px 0 0;} .booklight_list>li.isFolder {color:#3498db;} .booklight_resultsbar {position: absolute;font-size: 9px;top: 55px;right: 10px;color: #ddd;}