How to fix the width of the NicEdit editor?

If the editor was minimized and then the parent div to disclose, width NicEdit is minimal. Perversion js not lead to the solution (see screenshot). Where to dig?

jsfiddle.net/feedree/go3deLw5

Code, which almost treats the width:
$('.nicEdit-panelContain').parent().width('100%');
$('.nicEdit-panelContain').parent().next().width('100%');


l8IRH.jpg
July 9th 19 at 12:50
1 answer
July 9th 19 at 12:52
Solution
Replace:
$('.nicEdit-panelContain').parent().width('100%');
on
$('.nicEdit-panelContain').parent().width('102%');
The value chosen with the help of the inspector(PCM>search for getting out of the element frame>adjust the parent to the child in ccs)
Thank you, it worked! I had to fix the input field.
Total
nicEditors.allTextAreas();
$('.nicEdit-panelContain').parent().width('102%');
$('.nicEdit-panelContain').parent().next().width('100%');
$('.nicEdit-main').width('98%'); - Paris.Wolff commented on July 9th 19 at 12:55
: Update jsFiddle, anyone could come in handy - Corbin.Conn commented on July 9th 19 at 12:58

Find more questions by tags BootstrapJavaScript