File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
src/button-dropdown/category-elements Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -32,14 +32,12 @@ const CategoryElement = ({
3232 >
3333 { item . text && (
3434 < p className = { clsx ( styles . header , { [ styles . disabled ] : disabled } ) } aria-hidden = "true" >
35- < span style = { { display : 'flex' , alignItems : 'center' } } >
36- { ( item . iconName || item . iconUrl || item . iconSvg ) && (
37- < span className = { styles [ 'icon-wrapper' ] } >
38- < InternalIcon name = { item . iconName } url = { item . iconUrl } svg = { item . iconSvg } alt = { item . iconAlt } />
39- </ span >
40- ) }
41- { item . text }
42- </ span >
35+ { ( item . iconName || item . iconUrl || item . iconSvg ) && (
36+ < span className = { styles [ 'icon-wrapper' ] } >
37+ < InternalIcon name = { item . iconName } url = { item . iconUrl } svg = { item . iconSvg } alt = { item . iconAlt } />
38+ </ span >
39+ ) }
40+ { item . text }
4341 </ p >
4442 ) }
4543 < ul className = { styles [ 'items-list-container' ] } role = "group" aria-label = { item . text } aria-disabled = { disabled } >
You can’t perform that action at this time.
0 commit comments