From a9639ebd87cf6736a68a274be8b29923223f8663 Mon Sep 17 00:00:00 2001 From: SergeyKhodussov Date: Tue, 29 Aug 2017 16:34:33 +0600 Subject: [PATCH] Bug, which led to the moving of the search input to next line Bug, which led to the moving of the search input to next line! This change fixes a bug! --- src/uiSelectController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uiSelectController.js b/src/uiSelectController.js index a92b94d2a..a177df3e7 100644 --- a/src/uiSelectController.js +++ b/src/uiSelectController.js @@ -545,7 +545,7 @@ uis.controller('uiSelectCtrl', } var inputWidth = containerWidth - input.offsetLeft; if (inputWidth < 50) inputWidth = containerWidth; - ctrl.searchInput.css('width', inputWidth+'px'); + ctrl.searchInput.css('width', (inputWidth - 5)+'px'); return true; };