Skip to content

Commit be03b2c

Browse files
fnagelscottgonzalez
authored andcommitted
Selectmenu: add inline CSS for examples
1 parent 2667816 commit be03b2c

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

entries/selectmenu.xml

+13
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,10 @@ $('#speed').selectmenu();
126126
<option value="Faster">Faster</option>
127127
</select>
128128
]]></html>
129+
<css><![CDATA[
130+
label { display: block; }
131+
select { width: 200px; }
132+
]]></css>
129133
</example>
130134
<example>
131135
<desc>A simple jQuery UI Selectmenu with optgroups</desc>
@@ -145,6 +149,10 @@ $('#files').selectmenu();
145149
</optgroup>
146150
</select>
147151
]]></html>
152+
<css><![CDATA[
153+
label { display: block; }
154+
select { width: 200px; }
155+
]]></css>
148156
</example>
149157
<example>
150158
<desc>A jQuery UI Selectmenu with overflow in pop-up mode</desc>
@@ -178,6 +186,11 @@ withOverflow.selectmenu("menuWidget").addClass("overflow");
178186
<option value="19">19</option>
179187
</select>
180188
]]></html>
189+
<css><![CDATA[
190+
label { display: block; }
191+
select { width: 200px; }
192+
.overflow { height: 200px; }
193+
]]></css>
181194
</example>
182195
<category slug="widgets"/>
183196
</entry>

0 commit comments

Comments
 (0)