I have a React component using Semantic-UI. I am trying to remove the width attribute. The inspector shows the element's CSS as below:
@media only screen and (min-width: 1200px)
.ui.container {
width: 1127px;
margin-left: auto!important;
margin-right: auto!important;
}
I'd like to somehow remove the width. How can this be done? Do I have to use styled-components? If so, I'm a little confused as to how... Thanks!
&&and if adding the styled-components module is necessary to do so..parent-class-name .ui.container { width: auto; }you don't need styled-components