2017年5月29日 星期一

【JQuery】JQuery autocomplete combobox show all items button height shorter than input

右邊檢視鈕的大小不對。

原因是缺了這段
  1. .custom-combobox {
  2. position: relative;
  3. display: inline-block;
  4. }
  5.  
  6. .custom-combobox-toggle {
  7. position: absolute;
  8. top: 0;
  9. bottom: 0;
  10. margin-left: -1px;
  11. padding: 0;
  12. }
  13.  
  14. .custom-combobox-input {
  15. margin: 0;
  16. padding: 5px 10px;
  17. }

我雖然有引用,但引用有錯沒吃到,且只有這段的部分漏了,所以才會其它看起來都對,但畫面還是有故障。

沒有留言:

張貼留言