All Questions
Tagged with css-specificity reactjs
4 questions
0
votes
0
answers
34
views
CSS class effects the color of the text but not the font family
I am trying the understand the CSS and building the simple app. In this website there is a text under a div like that
<div className='app__navbar-name'>
<h1>ASDAS</h1>
</...
1
vote
1
answer
885
views
using material-ui for react in a wordpress plugin: css specificity problems
Im trying to properly use material-ui for react in a wordpress plugin.
Problems arise when using inputs for forms and the styling being overwritten by wordpress own styling in the forms.css file.
Im ...
1
vote
1
answer
2k
views
Why do you need to apply the two generated class names (root & disabled) to the DOM to make it work?
To customize components using material-ui, you can do this:
const styles = {
root: {
'&$disabled': {
color: 'white',
},
},
disabled: {}, // <-- why important?
};
That ...
2
votes
2
answers
9k
views
Remove padding in stackable Grid.Row
In 'Semantic UI React', I want to remove the vertical padding between stacked rows.
Why this inline styling doesn't succeed: style={{ padding: '0rem 0rem !important' }} ?
import React from 'react';
...