1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +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; z-index: 12;
font-family: 'DIN Next Light'; 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 { &__wrapper {
background-color: $white; background-color: $white;
box-shadow: 0 2px 4px 0 rgba($black, .08); box-shadow: 0 2px 4px 0 rgba($black, .08);
@ -191,7 +178,7 @@
transition: 200ms ease-in-out; transition: 200ms ease-in-out;
display: flex; display: flex;
flex-flow: row nowrap; flex-flow: row nowrap;
flex: 0 0 45%; flex: 0 0 42.5%;
align-items: center; align-items: center;
padding: 12px; padding: 12px;
margin: 2.5%; margin: 2.5%;
@ -215,6 +202,10 @@
} }
} }
&__token-data {
align-self: flex-start;
}
&__token-name { &__token-name {
font-size: 14px; font-size: 14px;
line-height: 19px; line-height: 19px;
@ -294,4 +285,33 @@
&__confirmation-token-icon { &__confirmation-token-icon {
margin-right: 18px; 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-radius: 6px;
border: 1px solid $black; border: 1px solid $black;
padding: 0% 7%; padding: 0% 7%;
justify-content: center;
div.buy-modal-content-option-title { div.buy-modal-content-option-title {
font-size: 20px; font-size: 20px;

View File

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