aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/sidebars/sidebar-content.scss
diff options
context:
space:
mode:
authorDan Miller <danjm.com@gmail.com>2018-11-28 01:30:41 +0800
committerDan Miller <danjm.com@gmail.com>2018-12-04 11:36:22 +0800
commitd8e41a6aa5a4c64538063c6dde7afdf77b0e5793 (patch)
treee03f9f43682cf687d81e93185cd2edcdb57fb0b2 /ui/app/components/sidebars/sidebar-content.scss
parent75d75454374d98bf904b817bc2dd2b81b9e97a9d (diff)
downloadtangerine-wallet-browser-d8e41a6aa5a4c64538063c6dde7afdf77b0e5793.tar.gz
tangerine-wallet-browser-d8e41a6aa5a4c64538063c6dde7afdf77b0e5793.tar.zst
tangerine-wallet-browser-d8e41a6aa5a4c64538063c6dde7afdf77b0e5793.zip
Final gas customization fixes
Diffstat (limited to 'ui/app/components/sidebars/sidebar-content.scss')
-rw-r--r--ui/app/components/sidebars/sidebar-content.scss40
1 files changed, 33 insertions, 7 deletions
diff --git a/ui/app/components/sidebars/sidebar-content.scss b/ui/app/components/sidebars/sidebar-content.scss
index 7d1f719dc..ca6b0a458 100644
--- a/ui/app/components/sidebars/sidebar-content.scss
+++ b/ui/app/components/sidebars/sidebar-content.scss
@@ -1,6 +1,11 @@
.sidebar-left {
+ display: flex;
+
.gas-modal-page-container {
+ display: flex;
+
.page-container {
+ flex: 1;
max-width: 100%;
&__content {
@@ -12,6 +17,10 @@
max-width: 344px;
min-height: auto;
}
+
+ @media screen and (min-width: $break-small) {
+ max-height: none;
+ }
}
.gas-price-chart {
@@ -34,9 +43,10 @@
}
.basic-tab-content {
- height: 318px;
+ height: auto;
margin-bottom: 0px;
border-bottom: 1px solid #d2d8dd;
+ flex: 1 1 70%;
@media screen and (max-width: $break-small) {
padding-left: 14px;
@@ -55,6 +65,10 @@
}
.advanced-tab {
+ @media screen and (min-width: $break-small) {
+ flex: 1 1 70%;
+ }
+
&__fee-chart {
height: 320px;
@@ -72,14 +86,26 @@
}
}
+ .gas-modal-content {
+ display: flex;
+ flex-direction: column;
+ width: 100%;
- .gas-modal-content__info-row {
- height: 170px;
-
- @media screen and (max-width: $break-small) {
- height: initial;
+ &__info-row-wrapper {
display: flex;
- justify-content: center;
+ @media screen and (min-width: $break-small) {
+ flex: 1 1 30%;
+ }
+ }
+
+ &__info-row {
+ height: 170px;
+
+ @media screen and (max-width: $break-small) {
+ height: initial;
+ display: flex;
+ justify-content: center;
+ }
}
}
}