x-editable - adjusting the width of input field

后端 未结 6 1123
天涯浪人
天涯浪人 2021-02-12 14:50

How do you adjust the input width of the popup

it doesn\'t seem like there is any option for it in

http://vitalets.github.io/x-editable/docs.html#text

6条回答
  •  半阙折子戏
    2021-02-12 15:46

    You can avoid having custom Javascript for each element on the page by using the data-inputclass attribute:

    awesome
    

    And CSS:

    .some_class{
       width: 240px;
    }
    

提交回复
热议问题