File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,9 @@ const styles = {
3838 verticalAlign : 'bottom' ,
3939 fontWeight : 'bold'
4040 } ,
41+ deviceTr :{
42+ height : '3rem'
43+ } ,
4144 deviceTd : {
4245 padding : '8px 8px 8px 0' ,
4346 borderSpacing : 'collapse' ,
@@ -113,8 +116,9 @@ class DownloadOverlay extends React.Component {
113116 } = handlers ;
114117
115118 const highlight = device . path === path ? 'active' : 'inactive' ;
119+ const deviceRowStyle = _ . assign ( { } , styles . deviceTr , styles [ highlight ] ) ;
116120 return (
117- < tr style = { styles [ highlight ] } onClick = { ( ) => selectDevice ( device ) } >
121+ < tr style = { deviceRowStyle } onClick = { ( ) => selectDevice ( device ) } >
118122 < td style = { styles . deviceTd } > { device . name } </ td >
119123 < td style = { styles . deviceTd } > { device . version } </ td >
120124 < td style = { styles . deviceTd } > { device . path } </ td >
You can’t perform that action at this time.
0 commit comments