Change the size of the search box

How can I change the size of the search box? If I type in Chinese character, the top and the bottom of the word is cut-off (see the attachment). Thanks!

Hello,


Thank you for your request. You can change “Search” field size with JavaScript code.
For example:
$(document).ready(function () {
$(".input_search").width(“150px”);
$(".input_search_clear").css(“left”, “192px”);
});

If you will have more question please feel free to contact us.

How about the current page count? I found out the length only long enough to display 3 digits.

Hello,


Thank you for your request. You can change width of the current page count via this JavaScript code: $(".new_head_input").css(‘cssText’, “width: 20px !important”);

Please note that the size used in the example code is just an example and you should set a valid for you value.

I tried the code, no error but the current page count input size still the same. Could you give me more specific instruction to do it, such as which file and where?



BTW, I haven’t bought the licence yet. Will your team make the change in the next release? This bug is not major, but note that your team is not detail-minded.

Hello,


Thank you for coming back. You should add this code line to the same JavaScript function where you change size of the search field.
For example it will looks like this:
$(document).ready(function () {
$(".input_search").width(“150px”);
$(".input_search_clear").css(“left”, “192px”);
$(".new_head_input").css(‘cssText’, “width: 20px !important”);
})

As for bug and changes - this style modifications is not a bug, Viewer dashboard has a default style and if you need to change it you should do it by your self.

I use the following code with the attached result.



$(document).ready(function () {

$(".input_search").width(“100px”);

$(".input_search_clear").css(“left”, “192px”);

$(".new_head_input").css(‘cssText’, “width: 100px ! important”);

});



The Search box is enlarged, but the ‘clear search text’ box (the circle ‘x’ button) is not position correctly.



Please help me to solve the problem. Thanks!

Hello,


To set the “cancel” button to the right place please update it’s CSS “letf” property from 192px to 142px. For all other style properties please pick up correct values in the browser console like shown on this screenshot and use them in your JavaScript code.