File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,18 @@ const styleInputSettings: StyleInputSettings[] = [
2828 defaultValue : '5px' ,
2929 inputType : 'text' ,
3030 } ,
31+ {
32+ label : 'Dropdown width' ,
33+ cssVariable : '--combo-box-list-width' ,
34+ defaultValue : '' ,
35+ inputType : 'text' ,
36+ } ,
37+ {
38+ label : 'Dropdown max height' ,
39+ cssVariable : '--combo-box-list-max-height' ,
40+ defaultValue : '250px' ,
41+ inputType : 'text' ,
42+ } ,
3143] ;
3244
3345// Option sets
@@ -174,7 +186,7 @@ export class IAComboBoxStory extends LitElement {
174186 >
175187 <span slot= "label" > ${ this . label } </ span>
176188 </ ia- combo- box>
177- <div id= "announcer" > ${ this . announcerText } </ div >
189+ <span id= "announcer" > ${ this . announcerText } </ span >
178190 </ div>
179191
180192 <for m slot= "settings" >
@@ -378,7 +390,7 @@ export class IAComboBoxStory extends LitElement {
378390 static get styles ( ) : CSSResultGroup {
379391 return css `
380392 # announcer {
381- margin-top : 10 px ;
393+ margin-left : 20 px ;
382394 }
383395 ` ;
384396 }
You can’t perform that action at this time.
0 commit comments