mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Opt for calculated values in absolutely positioned caret
This commit is contained in:
parent
0f140c5db5
commit
d8fff0fc8c
@ -58,7 +58,7 @@ WalletView.prototype.render = function () {
|
|||||||
|
|
||||||
h('div.flex-column.flex-center', {
|
h('div.flex-column.flex-center', {
|
||||||
style: {
|
style: {
|
||||||
// constrains size of absolutely positioned wrappers
|
// constrains size of absolutely positioned wrappers
|
||||||
position: 'relative',
|
position: 'relative',
|
||||||
},
|
},
|
||||||
}, [
|
}, [
|
||||||
@ -83,7 +83,10 @@ WalletView.prototype.render = function () {
|
|||||||
h(AccountDropdowns, {
|
h(AccountDropdowns, {
|
||||||
style: {
|
style: {
|
||||||
position: 'absolute',
|
position: 'absolute',
|
||||||
left: '66.5%',
|
left: 'calc(50% + 28px + 5.5px)',
|
||||||
|
// left: '42px',
|
||||||
|
// top: '-10px'
|
||||||
|
// left: '66.5%',
|
||||||
top: '19.5%',
|
top: '19.5%',
|
||||||
},
|
},
|
||||||
selected,
|
selected,
|
||||||
|
@ -3,6 +3,7 @@ $break-medium: 780px;
|
|||||||
$break-large: 576px;
|
$break-large: 576px;
|
||||||
|
|
||||||
.hero-balance {
|
.hero-balance {
|
||||||
|
|
||||||
@media screen and (max-width: $break-small) {
|
@media screen and (max-width: $break-small) {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@ -90,7 +91,9 @@ $break-large: 576px;
|
|||||||
min-height: 28px;
|
min-height: 28px;
|
||||||
font-size: .7em;
|
font-size: .7em;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user