aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/gas-customization/gas-price-chart
diff options
context:
space:
mode:
authorDan Miller <danjm.com@gmail.com>2018-11-09 00:03:31 +0800
committerDan Miller <danjm.com@gmail.com>2018-12-04 11:36:22 +0800
commitd5411e772d1efd8d723eb81403fa22b03b904f49 (patch)
treef606a9c0c12035055500696fb06d9cdc72e10859 /ui/app/components/gas-customization/gas-price-chart
parenta44596ec0dc45fa0d3a950847ff68f7a53f9625f (diff)
downloadtangerine-wallet-browser-d5411e772d1efd8d723eb81403fa22b03b904f49.tar.gz
tangerine-wallet-browser-d5411e772d1efd8d723eb81403fa22b03b904f49.tar.zst
tangerine-wallet-browser-d5411e772d1efd8d723eb81403fa22b03b904f49.zip
Make gas customization modal responsive.
Diffstat (limited to 'ui/app/components/gas-customization/gas-price-chart')
-rw-r--r--ui/app/components/gas-customization/gas-price-chart/index.scss5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/app/components/gas-customization/gas-price-chart/index.scss b/ui/app/components/gas-customization/gas-price-chart/index.scss
index 0990d6abb..097543104 100644
--- a/ui/app/components/gas-customization/gas-price-chart/index.scss
+++ b/ui/app/components/gas-customization/gas-price-chart/index.scss
@@ -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 {