1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/app/helpers/utils
Nick Doiron d589d2dec0 Right-to-left CSS (using module for conversion) (#7072)
* Create RTL stylesheets using `gulp-rtl`

* Handle RTL stylesheet special cases

Certain blocks of Sass  were set to bypass "rtlcss" using ignore
comments. Certain icons had to be flipped 180 degrees.

* Switch stylesheets when locale changes

A second stylesheet has been added to each HTML page for use with
right-to-left locales. It is disabled by default. It is enabled on
startup if a RTL locale is set, and when switching to a RTL locale.
Similarly the LTR stylesheet is disabled when a RTL locale is used.

Unfortunately there is an unpleasant flash of unstyled content when
switching between a LTR and a RTL locale. There is also a slightly
longer page load time when using a RTL locale (<1s difference). We
couldn't think of an easy way to avoid these problems.

* Set `dir="auto"` as default on `TextFields`
2019-09-03 14:47:54 -03:00
..
common.util.js Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
common.util.test.js Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
confirm-tx.util.js Revert to providing inline defaults in getHexGasTotal and increaseLastGasPrice (#6361) 2019-03-29 12:47:58 -02:30
confirm-tx.util.test.js Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
conversion-util.js Declare variables before use (#6806) 2019-07-05 14:01:34 -03:00
conversion-util.test.js Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
conversions.util.js Improved UX for sweeping accounts (#6488) 2019-05-20 14:08:08 -02:30
fetch-with-cache.js 4byte fallback (#6551) 2019-06-18 09:47:14 -02:30
fetch.js Add eslint dependency (#6842) 2019-07-15 10:15:49 -03:00
fetch.test.js 4byte fallback (#6551) 2019-06-18 09:47:14 -02:30
formatters.js Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
i18n-helper.js Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
metametrics.util.js MetaMetrics documentation (#6624) 2019-05-20 15:02:26 -02:30
switch-direction.js Right-to-left CSS (using module for conversion) (#7072) 2019-09-03 14:47:54 -03:00
token-util.js Fixes display of confirm screen token decimals by not relying on confirmTransaction state. 2019-06-28 01:51:33 -03:00
transactions.util.js Fetch & display received transactions (#6996) 2019-08-16 16:24:10 -02:30
transactions.util.test.js Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
util.js Address book name save fix (#6945) 2019-08-02 20:30:50 -02:30