@@ -48,7 +48,7 @@ export const Material = ({ onChange, hex, rgb,
4848 RGBinput : {
4949 width : '100%' ,
5050 marginTop : '12px' ,
51- fontSize : '15px ' ,
51+ fontSize : '12px ' ,
5252 color : '#333' ,
5353 padding : '0px' ,
5454 border : '0px' ,
@@ -69,9 +69,9 @@ export const Material = ({ onChange, hex, rgb,
6969 marginRight : '-10px' ,
7070 paddingTop : '11px' ,
7171 } ,
72- third : {
72+ fourth : {
7373 flex : '1' ,
74- paddingRight : '10px ' ,
74+ paddingRight : '5px ' ,
7575 } ,
7676 } ,
7777 } , passedStyles ) )
@@ -102,29 +102,37 @@ export const Material = ({ onChange, hex, rgb,
102102 onChange = { handleChange }
103103 />
104104 < div style = { styles . split } className = "flexbox-fix" >
105- < div style = { styles . third } >
105+ < div style = { styles . fourth } >
106106 < EditableInput
107107 style = { { wrap : styles . RGBwrap , input : styles . RGBinput , label : styles . RGBlabel } }
108108 label = "r" value = { rgb . r }
109109 onChange = { handleChange }
110110 />
111111 </ div >
112- < div style = { styles . third } >
112+ < div style = { styles . fourth } >
113113 < EditableInput
114114 style = { { wrap : styles . RGBwrap , input : styles . RGBinput , label : styles . RGBlabel } }
115115 label = "g"
116116 value = { rgb . g }
117117 onChange = { handleChange }
118118 />
119119 </ div >
120- < div style = { styles . third } >
120+ < div style = { styles . fourth } >
121121 < EditableInput
122122 style = { { wrap : styles . RGBwrap , input : styles . RGBinput , label : styles . RGBlabel } }
123123 label = "b"
124124 value = { rgb . b }
125125 onChange = { handleChange }
126126 />
127127 </ div >
128+ < div style = { styles . fourth } >
129+ < EditableInput
130+ style = { { wrap : styles . RGBwrap , input : styles . RGBinput , label : styles . RGBlabel } }
131+ label = "a"
132+ value = { Math . round ( rgb . a ) * 100 }
133+ onChange = { handleChange }
134+ />
135+ </ div >
128136 </ div >
129137 </ div >
130138 </ Raised >
0 commit comments