From bce471124868763c0380e30d6b9608b3f5d24620 Mon Sep 17 00:00:00 2001 From: j Date: Mon, 12 Nov 2018 07:14:28 +0100 Subject: [PATCH] tweak scrollbar related filter size --- static/js/filter.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/static/js/filter.js b/static/js/filter.js index 26669f63..68ba1618 100644 --- a/static/js/filter.js +++ b/static/js/filter.js @@ -191,12 +191,12 @@ pandora.ui.filter = function(id) { ], type: 'image', }) - .css(Ox.UI.SCROLLBAR_SIZE == 16 ? { - right: 0, - width: '14px' - } : { + .css(Ox.UI.SCROLLBAR_SIZE == 8 ? { right: '-1px', width: '8px', + } : { + right: '2px', + width: (Ox.UI.SCROLLBAR_SIZE - 2) + 'px' }) .bindEvent({ change: function(data) {