Skip to content

Commit 3e0c795

Browse files
committed
Merge pull request #260 from parallaxinc/adjust-port-row-height
Add 3rem height to device list rows
2 parents ad11ec5 + 0e38be5 commit 3e0c795

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/views/download-overlay.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff 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>

0 commit comments

Comments
 (0)