Skip to content
Snippets Groups Projects
Commit 1eea15d3 authored by piotr.kupczyk@id.ethz.ch's avatar piotr.kupczyk@id.ethz.ch
Browse files

NG_UI : SSDM-7583 : ObjectType form - make font size of a field metadata,...

NG_UI : SSDM-7583 : ObjectType form - make font size of a field metadata, description and error consistent with the font size of a field label
parent 681a4a11
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,7 @@ const styles = theme => ({
overflow: 'hidden'
},
metadataDefault: {
fontSize: theme.typography.label.fontSize,
flex: '0 0 auto',
margin: 0,
marginBottom: theme.spacing(1) / 2,
......@@ -17,8 +18,11 @@ const styles = theme => ({
controlDefault: {
flex: '0 0'
},
descriptionDefault: {},
descriptionDefault: {
fontSize: theme.typography.label.fontSize
},
errorDefault: {
fontSize: theme.typography.label.fontSize,
color: theme.palette.error.main
}
})
......
......@@ -7,7 +7,7 @@ const theme = createMuiTheme({
typography: {
useNextVariants: true,
label: {
fontSize: '0.7em',
fontSize: '0.7rem',
color: '#0000008a'
}
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment