Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Importing style.css interferes with other styles #16

Open
benkindt opened this issue Jan 16, 2020 · 1 comment
Open

Importing style.css interferes with other styles #16

benkindt opened this issue Jan 16, 2020 · 1 comment
Assignees

Comments

@benkindt
Copy link

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.

@gitbrent gitbrent self-assigned this Feb 17, 2020
richworx added a commit to awx-ev/bootstrap-switch-button-react that referenced this issue Apr 24, 2020
richworx added a commit to awx-ev/bootstrap-switch-button-react that referenced this issue Apr 24, 2020
richworx added a commit to awx-ev/bootstrap-switch-button-react that referenced this issue Apr 24, 2020
richworx added a commit to awx-ev/bootstrap-switch-button-react that referenced this issue Apr 24, 2020
rubencm referenced this issue in user890104/bootstrap-switch-button-react Mar 1, 2022
@jose-valero
Copy link

hello guys, awesome work btw.

no maintenance on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants