From b80b08f04f8174cdfe9eb51fe735a67fe1c88c6c Mon Sep 17 00:00:00 2001 From: David Baker Date: Tue, 4 Oct 2016 11:14:36 +0100 Subject: [PATCH] Specify width on icons & comment --- src/components/views/directory/NetworkDropdown.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/views/directory/NetworkDropdown.js b/src/components/views/directory/NetworkDropdown.js index c113fbc4..eb60c4a5 100644 --- a/src/components/views/directory/NetworkDropdown.js +++ b/src/components/views/directory/NetworkDropdown.js @@ -179,7 +179,9 @@ export default class NetworkDropdown extends React.Component { name = network; } if (this.props.config.networks[network].icon) { - icon = ; + // omit height here so if people define a non-square logo in the config, it + // will keep the aspect when it scales + icon = ; } else { icon = ; }