Closed davwheat closed 4 years ago
Perhaps the solution here would be to add a byobu-specific class that custom themes could make use of, if they need to?
Yep! This button already has .item-start_private
added to it. Is this enough, or should we go the full mile and add something like fof-byobu_primaryControl
, for example?
Actually, looking at some themes, most choose to override .Button--primary
in this case, so App-primaryControl
might not be an issue.
I feel that fof-byobu_primaryControl
could potentially make 3rd party theming easier in this case, so I would be inclined to include it
Done!
Removing the
App-primaryControl
class from the button fixes this issue, saving a hell of a lot of overrides in CSS, and not really affecting anything else.Custom themes might have issues with this, as the button won't have a possibly overridden class, so style changes will need to be added manually.
Would overriding all the styles which make it collapse be better?
(Haven't built dist JS.)