File tree 2 files changed +3
-3
lines changed
packages/components/src/components/hds/dropdown
showcase/app/templates/components
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ export default class HdsDropdown extends Component<HdsDropdownSignature> {
143
143
// context: https://github.com/hashicorp/design-system/pull/2309#discussion_r1706941892
144
144
classes . push ( `hds-dropdown__content--position-${ this . listPosition } ` ) ;
145
145
146
- // add a class based on the @width argument
146
+ // add a class based on the @width or @matchToggleWidth arguments
147
147
if ( this . args . width || this . args . matchToggleWidth ) {
148
148
classes . push ( 'hds-dropdown__content--fixed-width' ) ;
149
149
}
Original file line number Diff line number Diff line change 14
14
<Shw::Grid @columns ={{ 2 }} as |SG|>
15
15
{{ #each @model.POSITIONS as |position |}}
16
16
<SG .Item @label ={{ capitalize position }} >
17
- <div {{ style padding =" 6em 12em" }} class = " shw-outliner " >
17
+ <Shw::Outliner {{ style padding =" 6em 12em" }} >
18
18
<Hds::Dropdown @isOpen ={{ true }} @listPosition ={{ position }} as |D|>
19
19
<D .ToggleButton @color =" secondary" @text =" Menu" />
20
20
<D .Interactive @href =" #" >Create</D .Interactive>
21
21
<D .Interactive @href =" #" >Edit</D .Interactive>
22
22
</Hds::Dropdown >
23
- </div >
23
+ </Shw::Outliner >
24
24
</SG .Item>
25
25
{{ /each }}
26
26
</Shw::Grid >
You can’t perform that action at this time.
0 commit comments