1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00

Add token list and buy modal alignment fix

This commit is contained in:
Chi Kei Chan 2017-10-24 17:15:10 -07:00
parent 301c737bbc
commit ad91fcd662
3 changed files with 36 additions and 15 deletions

View File

@ -7,19 +7,6 @@
z-index: 12;
font-family: 'DIN Next Light';
@media screen and (max-width: $break-small) {
top: 0;
width: 100%;
&__wrapper {
box-shadow: none !important;
}
&__footers {
border-bottom: 1px solid $gallery;
}
}
&__wrapper {
background-color: $white;
box-shadow: 0 2px 4px 0 rgba($black, .08);
@ -191,7 +178,7 @@
transition: 200ms ease-in-out;
display: flex;
flex-flow: row nowrap;
flex: 0 0 45%;
flex: 0 0 42.5%;
align-items: center;
padding: 12px;
margin: 2.5%;
@ -215,6 +202,10 @@
}
}
&__token-data {
align-self: flex-start;
}
&__token-name {
font-size: 14px;
line-height: 19px;
@ -294,4 +285,33 @@
&__confirmation-token-icon {
margin-right: 18px;
}
@media screen and (max-width: $break-small) {
top: 0;
width: 100%;
overflow-y: auto;
&__wrapper {
box-shadow: none !important;
}
&__footers {
border-bottom: 1px solid $gallery;
}
&__token-icon {
width: 50px;
height: 50px;
}
&__token-symbol {
font-size: 18px;
line-height: 24px;
}
&__token-name {
font-size: 12px;
line-height: 16px;
}
}
}

View File

@ -57,6 +57,7 @@
border-radius: 6px;
border: 1px solid $black;
padding: 0% 7%;
justify-content: center;
div.buy-modal-content-option-title {
font-size: 20px;

View File

@ -163,7 +163,7 @@ $wallet-view-bg: $wild-sand;
overflow-y: auto;
box-shadow: rgba(0, 0, 0, .15) 2px 2px 4px;
width: 85%;
height: calc(100% - 57px);
height: calc(100% - 56px);
}
.sidebar-overlay {