mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Add layout for Buy and Send buttons
This commit is contained in:
parent
610d6da8ae
commit
7d4927c975
@ -115,7 +115,50 @@ WalletView.prototype.render = function () {
|
|||||||
]),
|
]),
|
||||||
|
|
||||||
// Buy Buttons
|
// Buy Buttons
|
||||||
|
// for index.css
|
||||||
|
//
|
||||||
|
// TODO: move into a class
|
||||||
|
// div.wallet-btn {
|
||||||
|
// border: 1px solid rgb(91, 93, 103);
|
||||||
|
// border-radius: 2px;
|
||||||
|
// height: 30px;
|
||||||
|
// width: 75px;
|
||||||
|
// font-size: 0.8em;
|
||||||
|
// text-align: center;
|
||||||
|
// line-height: 25px;
|
||||||
|
// }
|
||||||
|
|
||||||
|
h('div.flex-row', {
|
||||||
|
style: {
|
||||||
|
marginLeft: '35px',
|
||||||
|
marginTop: '10px',
|
||||||
|
}
|
||||||
|
}, [
|
||||||
|
h('div', {
|
||||||
|
style: {
|
||||||
|
border: '1px solid rgb(91, 93, 103)',
|
||||||
|
borderRadius: '2px',
|
||||||
|
height: '30px',
|
||||||
|
width: '75px',
|
||||||
|
fontSize: '0.8em',
|
||||||
|
textAlign: 'center',
|
||||||
|
lineHeight: '25px',
|
||||||
|
}
|
||||||
|
}, 'BUY'),
|
||||||
|
h('div.wallet-btn', {
|
||||||
|
style: {
|
||||||
|
border: '1px solid rgb(91, 93, 103)',
|
||||||
|
borderRadius: '2px',
|
||||||
|
height: '30px',
|
||||||
|
width: '75px',
|
||||||
|
fontSize: '0.8em',
|
||||||
|
textAlign: 'center',
|
||||||
|
lineHeight: '25px',
|
||||||
|
// spacing...
|
||||||
|
marginLeft: '15px',
|
||||||
|
}
|
||||||
|
}, 'SEND'),
|
||||||
|
]),
|
||||||
|
|
||||||
|
|
||||||
// Wallet contents
|
// Wallet contents
|
||||||
|
Loading…
x
Reference in New Issue
Block a user