bootstrap-switch-button-react icon indicating copy to clipboard operation
bootstrap-switch-button-react copied to clipboard

Importing style.css interferes with other styles

Open benkindt opened this issue 5 years ago • 1 comments
trafficstars

In the style.css are css-classes, that are also used in React-Bootstrap.

.btn-group-xs > .btn, .btn-xs { padding: .35rem .4rem .25rem .4rem; font-size: .875rem; line-height: .5; border-radius: .2rem; }

In my case using the component transformed all "xs"-buttons. It would be better to use styled-components inside the switch-component, which would only set the css there and eliminate side effects, Maybe I will try to improve the code later.

benkindt avatar Jan 16 '20 09:01 benkindt

hello guys, awesome work btw.

no maintenance on this?

jose-valero avatar Sep 12 '23 01:09 jose-valero