Makes styling fixes to account dropdown.

feature/default_network_editable
Dan 7 years ago committed by Chi Kei Chan
parent 10345a12c2
commit c2ccd6e90e
  1. 17
      ui/app/components/dropdowns/components/account-dropdowns.js
  2. 5
      ui/app/css/itcss/tools/utilities.scss

@ -51,6 +51,7 @@ class AccountDropdowns extends Component {
{
marginTop: index === 0 ? '5px' : '',
fontSize: '24px',
width: '260px',
},
menuItemStyles,
),
@ -92,6 +93,7 @@ class AccountDropdowns extends Component {
alignItems: 'flex-start',
justifyContent: 'center',
marginLeft: '10px',
position: 'relative',
},
}, [
this.indicateIfLoose(keyring),
@ -104,7 +106,6 @@ class AccountDropdowns extends Component {
textOverflow: 'ellipsis',
},
}, identity.name || ''),
h('span', { style: { marginLeft: '20px', fontSize: '24px' } }, isSelected ? h('.check', '✓') : null),
h('span.account-dropdown-balance', {
style: {
@ -202,17 +203,19 @@ class AccountDropdowns extends Component {
},
[
h(
Identicon,
'div',
{
style: {
marginLeft: '10px',
marginLeft: '8px',
fontFamily: 'Montserrat UltraLight',
fontSize: '30px',
},
diameter: 32,
},
'+'
),
h('span', {
style: {
marginLeft: '20px',
marginLeft: '14px',
fontFamily: 'DIN OT',
fontSize: '16px',
lineHeight: '23px',
@ -232,13 +235,13 @@ class AccountDropdowns extends Component {
},
[
h(
Identicon,
'div',
{
style: {
marginLeft: '10px',
},
diameter: 32,
},
String.fromCharCode(10515)
),
h('span', {
style: {

@ -239,9 +239,8 @@ hr.horizontal-line {
height: 20px;
min-width: 20px;
position: absolute;
display: flex;
align-items: center;
justify-content: center;
top: 0px;
right: 5px;
padding: 4px;
}

Loading…
Cancel
Save