Button - expand "inline" support to other variants
Created by: mcoker
The problem - we have super small buttons across components that are either
- not using the PF button component
- are using the PF button component but the padding/size is customized in each component
Some examples:
- form help popover button - doesn't use PF button
- label close button - uses a modified PF plain button
- text input group close/utility button(s) - uses a modified PF plain button
- tabs help/close actions - uses a modified PF plain button
Looking at the WCAG spec on target size, there are cases for buttons that do not have minimum target sizes with a specific callout for help icons or icons that flow with sentences and could wrap with the text and throw off the size/spacing of the text around it.
Right now, .pf-m-inline
only applies to "link" buttons, and it basically makes a link button look like a link/anchor. I don't know if we would try and expand that variation, or possibly create a new variant, I think at a minimum, there is a case for an inline plain button where the font-size is inherited and either padding is removed or minimal padding is added so that it doesn't exceed the line-height of adjacent text of the same size.
cc @srambach @mceledonia