File tree Expand file tree Collapse file tree 2 files changed +18
-10
lines changed
lib/osf-components/addon/components/addons-service/configured-addon-edit Expand file tree Collapse file tree 2 files changed +18
-10
lines changed Original file line number Diff line number Diff line change 68
68
white-space : pre-wrap ;
69
69
70
70
}
71
+
72
+ .trigger {
73
+ width : 130px ;
74
+ }
Original file line number Diff line number Diff line change 167
167
></GoogleFilePickerWidget >
168
168
{{ /if }}
169
169
{{ #if this.isLinkAddon }}
170
- <label >
171
- {{ t ' addons.configure.resource-type' }}
172
- <Button
173
- aria-label ={{ t ' addons.configure.resource-type-helper-aria-label' }}
174
- @layout =' fake-link'
175
- {{ on ' click' (fn (mut this.isResourceTypeDialogOpen ) true )}}
176
- >
177
- <FaIcon @icon =' question-circle' />
178
- </Button >
170
+ {{ #let (unique-id ' resource-type' ) as |resourceTypeId |}}
171
+ <label for ={{ resourceTypeId }} >
172
+ {{ t ' addons.configure.resource-type' }}
173
+ <Button
174
+ aria-label ={{ t ' addons.configure.resource-type-helper-aria-label' }}
175
+ @layout =' fake-link'
176
+ {{ on ' click' (fn (mut this.isResourceTypeDialogOpen ) true )}}
177
+ >
178
+ <FaIcon @icon =' question-circle' />
179
+ </Button >
180
+ </label >
179
181
<PowerSelect
182
+ id ={{ resourceTypeId }}
180
183
@options ={{ @supportedResourceTypes }}
181
184
@selected ={{ this.selectedResourceType }}
182
185
@onChange ={{ action (mut this.selectedResourceType )}}
186
+ @triggerClass ={{ local-class ' trigger' }}
183
187
@placeholder ={{ t ' addons.configure.resource-type-placeholder' }}
184
188
as |resourceType|
185
189
>
186
190
{{ resourceType }}
187
191
</PowerSelect >
188
- </ label >
192
+ {{ /let }}
189
193
{{ /if }}
190
194
<div local-class =' footer-buttons-wrapper' >
191
195
<Button
You can’t perform that action at this time.
0 commit comments