mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Make gas customization modal responsive.
This commit is contained in:
parent
a44596ec0d
commit
d5411e772d
@ -6,6 +6,10 @@
|
||||
max-width: 391px;
|
||||
min-height: 585px;
|
||||
|
||||
@media screen and (max-width: $break-small) {
|
||||
max-width: 344px;
|
||||
}
|
||||
|
||||
&__header {
|
||||
padding: 0px;
|
||||
padding-top: 16px;
|
||||
@ -60,6 +64,10 @@
|
||||
}
|
||||
|
||||
.gas-modal-content {
|
||||
@media screen and (max-width: $break-small) {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
&__basic-tab {
|
||||
height: 219px;
|
||||
}
|
||||
|
@ -67,6 +67,10 @@
|
||||
justify-content: stretch;
|
||||
max-width: 260px;
|
||||
|
||||
@media screen and (max-width: $break-small) {
|
||||
max-width: 230px;
|
||||
}
|
||||
|
||||
&__button-fiat-price {
|
||||
font-size: 13px;
|
||||
}
|
||||
@ -98,6 +102,10 @@
|
||||
padding-top: 9px;
|
||||
padding-left: 8.5px;
|
||||
|
||||
@media screen and (max-width: $break-small) {
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
div {
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
|
@ -1,12 +1,17 @@
|
||||
.gas-price-chart {
|
||||
display: flex;
|
||||
position: relative;
|
||||
justify-content: center;
|
||||
|
||||
&__root {
|
||||
max-height: 154px;
|
||||
max-width: 391px;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
|
||||
@media screen and (max-width: $break-small) {
|
||||
max-width: 326px;
|
||||
}
|
||||
}
|
||||
|
||||
.tick text, .c3-axis-x-label, .c3-axis-y-label {
|
||||
|
@ -194,10 +194,14 @@
|
||||
.page-container {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
overflow-y: auto;
|
||||
background-color: $white;
|
||||
border-radius: 0;
|
||||
flex: 1;
|
||||
|
||||
&__content {
|
||||
display: flex;
|
||||
overflow-y: initial;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -216,6 +216,7 @@ $wallet-view-bg: $alabaster;
|
||||
|
||||
.main-container-wrapper {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -530,6 +530,7 @@
|
||||
@media screen and (max-width: $break-small) {
|
||||
margin: 0;
|
||||
flex: 1 1 auto;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -18,6 +18,10 @@ body {
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
@media screen and (max-width: $break-small) {
|
||||
overflow-y: overlay;
|
||||
}
|
||||
}
|
||||
|
||||
html {
|
||||
|
Loading…
Reference in New Issue
Block a user