I'm working on some code and I'd like to change the background color while keeping the hovering effect. Can anyone help me with that?
<CommandBar
styles={{
root: {
paddingLeft: 0,
paddingRight: 0,
selectors: {
"& .ms-OverflowSet-item:nth-child(4)": {
display: "flex",
flexGrow: 1,
},
},
},
}}
overflowItems={props.overflowItems}
items={props.items}
/>
For more information, check out the official documentation here: https://developer.microsoft.com/en-us/fluentui#/controls/web/commandbar
Any help would be greatly appreciated! Thanks in advance!