Commit ffb6cce3 authored by Oleksii Savran's avatar Oleksii Savran
Browse files

WIP: ButtonBar component icon fix

parent 33f1c275
......@@ -20,8 +20,7 @@ const styles = (theme) => ({
},
},
/* tslint:disable */
selected: {
padding: '0',
barText: {
'& > *:first-child': {
display: 'block',
'@media (min-width: 940px) and (max-width: 1060px)': {
......@@ -94,7 +93,6 @@ const styles = (theme) => ({
},
},
firstAction: {
padding: '0',
'& > span': {
color: 'rgba(0, 0, 0, 0.87)',
'& > button': {
......@@ -142,7 +140,7 @@ class ButtonBar extends React.Component<IButtonBarProps, any> {
<div className={ classes.mobile }>
<List className={ `p-0` }>
<ListItem
className={ `p-0 ${ classes.selected }` }
className={ `p-0 ${ barLabelText ? classes.barText : '' }` }
button
aria-haspopup="true"
aria-controls="button-menu"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment