office-ui-fabricfluent-uifluentui-reactcommandbar

CommandBar Buttons Hover


I am using the CommandBar Component to display links. (The buttons are href links). I want to remove the underline from buttons when hover. Is it possible? enter image description here

https://developer.microsoft.com/en-us/fluentui#/controls/web/commandbar


Solution

  • If you want to remove the underline of a button when hover, maybe you can do something like this

    button: hover{
    text-decoration: none;
    }
    

    Let me know if that worked for you