File tree 4 files changed +8
-6
lines changed
packages/pluggableWidgets/file-uploader-web
4 files changed +8
-6
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 220
220
<description />
221
221
</property >
222
222
<property key =" buttonIsDefault" type =" boolean" defaultValue =" false" >
223
- <caption >Is default </caption >
224
- <description >The action will be triggered by clicking on the file entry.</description >
223
+ <caption >Default file action </caption >
224
+ <description >When set to Yes, the action will be triggered by clicking on the file entry.</description >
225
225
</property >
226
226
<property key =" buttonIsVisible" type =" expression" defaultValue =" true" >
227
- <caption >Is visible </caption >
228
- <description >The button will be hidden if false is returned.</description >
227
+ <caption >Visible </caption >
228
+ <description >The button will be hidden when false is returned.</description >
229
229
<returnType type =" Boolean" />
230
230
</property >
231
231
</propertyGroup >
Original file line number Diff line number Diff line change @@ -54,13 +54,13 @@ function DefaultActionsBar(props: ButtonsBarProps) {
54
54
return (
55
55
< div className = { "entry-details-actions" } >
56
56
< ActionButton
57
- icon = { < div className = { "download-icon" } /> }
57
+ icon = { < span className = { "download-icon" } aria-hidden = { true } /> }
58
58
title = { translations . get ( "downloadButtonTextMessage" ) }
59
59
action = { onViewClick }
60
60
isDisabled = { ! props . store . canDownload }
61
61
/>
62
62
< ActionButton
63
- icon = { < div className = { "remove-icon" } /> }
63
+ icon = { < span className = { "remove-icon" } aria-hidden = { true } /> }
64
64
title = { translations . get ( "removeButtonTextMessage" ) }
65
65
action = { onRemove }
66
66
isDisabled = { ! props . store . canRemove }
Original file line number Diff line number Diff line change @@ -143,6 +143,7 @@ Place your custom CSS here
143
143
}
144
144
145
145
.download-icon {
146
+ display : inline-block ;
146
147
height : 24px ;
147
148
width : 24px ;
148
149
background-repeat : no-repeat ;
@@ -249,6 +250,7 @@ Place your custom CSS here
249
250
}
250
251
251
252
.remove-icon {
253
+ display : inline-block ;
252
254
height : 24px ;
253
255
width : 24px ;
254
256
background-repeat : no-repeat ;
You can’t perform that action at this time.
0 commit comments