Allowing for scroll overflow when swaps content is too tall (#10988)

Fixes MetaMask/metamask-extension#10957
feature/default_network_editable
ryanml 4 years ago committed by Dan Miller
parent c63ff8f315
commit d421e593a2
  1. 2
      app/_locales/en/messages.json
  2. 3
      app/_locales/es/messages.json
  3. 3
      app/_locales/es_419/messages.json
  4. 3
      app/_locales/hi/messages.json
  5. 3
      app/_locales/id/messages.json
  6. 3
      app/_locales/it/messages.json
  7. 3
      app/_locales/ja/messages.json
  8. 3
      app/_locales/ko/messages.json
  9. 3
      app/_locales/ru/messages.json
  10. 3
      app/_locales/tl/messages.json
  11. 3
      app/_locales/vi/messages.json
  12. 3
      app/_locales/zh_CN/messages.json
  13. 4
      ui/pages/swaps/index.scss

@ -1875,7 +1875,7 @@
"message": "Finalizing..." "message": "Finalizing..."
}, },
"swapHighSlippageWarning": { "swapHighSlippageWarning": {
"message": "Slippage amount is very high. Make sure you know what you are doing!" "message": "Slippage amount is very high."
}, },
"swapLowSlippageError": { "swapLowSlippageError": {
"message": "Transaction may fail, max slippage too low." "message": "Transaction may fail, max slippage too low."

@ -1576,9 +1576,6 @@
"swapFinalizing": { "swapFinalizing": {
"message": "Finalizando..." "message": "Finalizando..."
}, },
"swapHighSlippageWarning": {
"message": "La cantidad de deslizamiento es muy alta. ¡Asegúrate de saber lo que estás haciendo!"
},
"swapLowSlippageError": { "swapLowSlippageError": {
"message": "La transacción puede fallar, el deslizamiento máximo es demasiado bajo." "message": "La transacción puede fallar, el deslizamiento máximo es demasiado bajo."
}, },

@ -1576,9 +1576,6 @@
"swapFinalizing": { "swapFinalizing": {
"message": "Finalizando..." "message": "Finalizando..."
}, },
"swapHighSlippageWarning": {
"message": "La cantidad de deslizamiento es muy alta. ¡Asegúrate de saber lo que estás haciendo!"
},
"swapLowSlippageError": { "swapLowSlippageError": {
"message": "La transacción puede fallar, el deslizamiento máximo es demasiado bajo." "message": "La transacción puede fallar, el deslizamiento máximo es demasiado bajo."
}, },

@ -1564,9 +1564,6 @@
"swapFinalizing": { "swapFinalizing": {
"message": "अिम रप दि रह..." "message": "अिम रप दि रह..."
}, },
"swapHighSlippageWarning": {
"message": "सिज रि बहत अधिक ह। सिित करि आप जनति आप क कर रह!"
},
"swapLowSlippageError": { "swapLowSlippageError": {
"message": "लनदन विफल ह सकत, अधिकतम सिज बहत कम ह सकत।" "message": "लनदन विफल ह सकत, अधिकतम सिज बहत कम ह सकत।"
}, },

@ -1564,9 +1564,6 @@
"swapFinalizing": { "swapFinalizing": {
"message": "Menyelesaikan..." "message": "Menyelesaikan..."
}, },
"swapHighSlippageWarning": {
"message": "Jumlah slippage sangat tinggi. Pastikan Anda mengetahui yang Anda kerjakan!"
},
"swapLowSlippageError": { "swapLowSlippageError": {
"message": "Transaksi bisa gagal, slippage maks. terlalu rendah." "message": "Transaksi bisa gagal, slippage maks. terlalu rendah."
}, },

@ -1582,9 +1582,6 @@
"swapFinalizing": { "swapFinalizing": {
"message": "Finalizzando..." "message": "Finalizzando..."
}, },
"swapHighSlippageWarning": {
"message": "L'importo di slippage è molto alto. Assicurati di sapere cosa stai facendo!"
},
"swapLowSlippageError": { "swapLowSlippageError": {
"message": "La transazione può fallire, il massimo slippage è troppo basso." "message": "La transazione può fallire, il massimo slippage è troppo basso."
}, },

@ -1576,9 +1576,6 @@
"swapFinalizing": { "swapFinalizing": {
"message": "終了中..." "message": "終了中..."
}, },
"swapHighSlippageWarning": {
"message": "非常に大きいスリッページ額です。本当に実行するか確認してください。"
},
"swapLowSlippageError": { "swapLowSlippageError": {
"message": "トランザクションが失敗する可能性があります。最大スリッページが少なすぎます。" "message": "トランザクションが失敗する可能性があります。最大スリッページが少なすぎます。"
}, },

@ -1564,9 +1564,6 @@
"swapFinalizing": { "swapFinalizing": {
"message": "마무리 중..." "message": "마무리 중..."
}, },
"swapHighSlippageWarning": {
"message": "슬리패지 금액이 아주 큽니다. 현재 어떤 작업을 하고 있는지 확인하세요!"
},
"swapLowSlippageError": { "swapLowSlippageError": {
"message": "거래가 실패할 수도 있습니다. 최대 슬리패지가 너무 낮습니다." "message": "거래가 실패할 수도 있습니다. 최대 슬리패지가 너무 낮습니다."
}, },

@ -1564,9 +1564,6 @@
"swapFinalizing": { "swapFinalizing": {
"message": "Завершение..." "message": "Завершение..."
}, },
"swapHighSlippageWarning": {
"message": "Величина проскальзывания очень велика. Убедитесь, что вы знаете, что делаете!"
},
"swapLowSlippageError": { "swapLowSlippageError": {
"message": "Транзакции могут завершиться неудачей, максимальное проскальзывание слишком мало." "message": "Транзакции могут завершиться неудачей, максимальное проскальзывание слишком мало."
}, },

@ -1561,9 +1561,6 @@
"swapFinalizing": { "swapFinalizing": {
"message": "Isinasapinal..." "message": "Isinasapinal..."
}, },
"swapHighSlippageWarning": {
"message": "Sobrang laki ng halaga ng slippage. Tiyaking alam mo ang ginagawa mo!"
},
"swapLowSlippageError": { "swapLowSlippageError": {
"message": "Maaaring hindi magtagumpay ang transaksyon, masyadong mababa ang max na slippage." "message": "Maaaring hindi magtagumpay ang transaksyon, masyadong mababa ang max na slippage."
}, },

@ -1564,9 +1564,6 @@
"swapFinalizing": { "swapFinalizing": {
"message": "Đang hoàn tất..." "message": "Đang hoàn tất..."
}, },
"swapHighSlippageWarning": {
"message": "Số tiền trượt giá rất cao. Hãy chắc chắn rằng bạn hiểu những gì mình đang làm!"
},
"swapLowSlippageError": { "swapLowSlippageError": {
"message": "Giao dịch có thể không thành công, mức trượt giá tối đa quá thấp." "message": "Giao dịch có thể không thành công, mức trượt giá tối đa quá thấp."
}, },

@ -1576,9 +1576,6 @@
"swapFinalizing": { "swapFinalizing": {
"message": "确定中……" "message": "确定中……"
}, },
"swapHighSlippageWarning": {
"message": "滑点数量非常大。确保您知道您的操作!"
},
"swapLowSlippageError": { "swapLowSlippageError": {
"message": "交易可能失败,最大滑点过低。" "message": "交易可能失败,最大滑点过低。"
}, },

@ -29,7 +29,8 @@
align-items: center; align-items: center;
height: 100%; height: 100%;
width: 100%; width: 100%;
overflow: hidden; overflow-x: hidden;
overflow-y: scroll;
&--scrollable { &--scrollable {
overflow: auto; overflow: auto;
@ -42,7 +43,6 @@
box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.08); box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.08);
border-radius: 8px; border-radius: 8px;
height: 620px; height: 620px;
overflow: hidden;
} }
} }

Loading…
Cancel
Save