aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorsdtsui <szehungdanieltsui@gmail.com>2017-08-05 04:19:06 +0800
committersdtsui <szehungdanieltsui@gmail.com>2017-08-05 04:19:06 +0800
commit8cc3ae5988d652b73217e80df93a685d7e5a8422 (patch)
tree1abe6267672a6d9f7bb5ab647cf3c7de447bb5f4 /ui
parent0cd72db2d2aa575420befa687156cf2bd271b6dd (diff)
downloadtangerine-wallet-browser-8cc3ae5988d652b73217e80df93a685d7e5a8422.tar
tangerine-wallet-browser-8cc3ae5988d652b73217e80df93a685d7e5a8422.tar.gz
tangerine-wallet-browser-8cc3ae5988d652b73217e80df93a685d7e5a8422.tar.bz2
tangerine-wallet-browser-8cc3ae5988d652b73217e80df93a685d7e5a8422.tar.lz
tangerine-wallet-browser-8cc3ae5988d652b73217e80df93a685d7e5a8422.tar.xz
tangerine-wallet-browser-8cc3ae5988d652b73217e80df93a685d7e5a8422.tar.zst
tangerine-wallet-browser-8cc3ae5988d652b73217e80df93a685d7e5a8422.zip
Cleanup breakpoint css + comment on hackiness
Diffstat (limited to 'ui')
-rw-r--r--ui/app/css/lib.css25
1 files changed, 14 insertions, 11 deletions
diff --git a/ui/app/css/lib.css b/ui/app/css/lib.css
index e7b3bab05..81647d1c1 100644
--- a/ui/app/css/lib.css
+++ b/ui/app/css/lib.css
@@ -276,27 +276,30 @@ i.fa.fa-question-circle.fa-lg.menu-icon {
color: red;
}
-// Account Subsection + Tab Section Breakpoints Hack:
-// Resolves issue from @frankiebee in:
-// https://github.com/MetaMask/metamask-extension/pull/1835
-// Please remove this when integrating new designs
+/*
+ Hacky breakpoint fix for account + tab sections
+ Resolves issue from @frankiebee in
+ https://github.com/MetaMask/metamask-extension/pull/1835
+ Please remove this when integrating new designs
+ */
+
@media screen and (min-width: 575px) and (max-width: 800px) {
.account-data-subsection {
- flex: 0 0 auto !important; // needs to remove default flex settings
- width: 40%;
- margin-left: 10px !important;
+ flex: 0 0 auto !important; // reset flex
+ margin-left: 10px !important; // create additional horizontal space
margin-right: 10px !important;
+ width: 40%;
}
.tabSection {
- flex: 0 0 auto !important; // needs to remove default flex settings
- width: 49%;
- min-width: 305px; // min-width needs to be low for an early break
+ flex: 0 0 auto !important;
margin-left: 10px !important;
margin-right: 10px !important;
+ min-width: 285px;
+ width: 49%;
}
.name-label {
- width: 80%; // repositions dropdown after early break
+ width: 80%;
}
}