mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Selectmenu: changed button to inline element
This commit is contained in:
parent
30ac35afb1
commit
d83f0b2de9
@ -29,6 +29,7 @@
|
|||||||
<style>
|
<style>
|
||||||
form { margin: 100px 0 0 0 }
|
form { margin: 100px 0 0 0 }
|
||||||
fieldset { border: 0; }
|
fieldset { border: 0; }
|
||||||
|
label { display: block; }
|
||||||
select { width: 200px; }
|
select { width: 200px; }
|
||||||
.overflow ul { height: 200px; overflow: auto; }
|
.overflow ul { height: 200px; overflow: auto; }
|
||||||
</style>
|
</style>
|
||||||
|
@ -50,6 +50,7 @@
|
|||||||
<style>
|
<style>
|
||||||
form { margin: 100px 0 0 0 }
|
form { margin: 100px 0 0 0 }
|
||||||
fieldset { border: 0; }
|
fieldset { border: 0; }
|
||||||
|
label { display: block; }
|
||||||
select { width: 200px; }
|
select { width: 200px; }
|
||||||
.overflow ul { height: 200px; overflow: auto; }
|
.overflow ul { height: 200px; overflow: auto; }
|
||||||
</style>
|
</style>
|
||||||
|
@ -38,6 +38,7 @@
|
|||||||
<style>
|
<style>
|
||||||
form { margin: 20px 0 0 0 }
|
form { margin: 20px 0 0 0 }
|
||||||
fieldset { border: 0; }
|
fieldset { border: 0; }
|
||||||
|
label { display: block; }
|
||||||
select { width: 200px; }
|
select { width: 200px; }
|
||||||
.overflow ul { height: 200px; overflow: auto; }
|
.overflow ul { height: 200px; overflow: auto; }
|
||||||
</style>
|
</style>
|
||||||
|
@ -30,6 +30,7 @@
|
|||||||
<style>
|
<style>
|
||||||
form { margin: 20px 0 0 0 }
|
form { margin: 20px 0 0 0 }
|
||||||
fieldset { border: 0; }
|
fieldset { border: 0; }
|
||||||
|
label { display: block; }
|
||||||
select { width: 200px; }
|
select { width: 200px; }
|
||||||
.overflow ul { height: 200px; overflow: auto; }
|
.overflow ul { height: 200px; overflow: auto; }
|
||||||
</style>
|
</style>
|
||||||
|
2
ui/jquery.ui.selectmenu.js
vendored
2
ui/jquery.ui.selectmenu.js
vendored
@ -109,7 +109,7 @@ $.widget( "ui.selectmenu", {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// wrap and insert new button
|
// wrap and insert new button
|
||||||
that.newelementWrap = $( '<div />' )
|
that.newelementWrap = $( '<span />' )
|
||||||
.append( that.newelement )
|
.append( that.newelement )
|
||||||
.insertAfter( that.element );
|
.insertAfter( that.element );
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user