aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui/app/css/lib.css27
1 files changed, 27 insertions, 0 deletions
diff --git a/ui/app/css/lib.css b/ui/app/css/lib.css
index 6fff4f56a..81647d1c1 100644
--- a/ui/app/css/lib.css
+++ b/ui/app/css/lib.css
@@ -276,3 +276,30 @@ i.fa.fa-question-circle.fa-lg.menu-icon {
color: red;
}
+/*
+ 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; // reset flex
+ margin-left: 10px !important; // create additional horizontal space
+ margin-right: 10px !important;
+ width: 40%;
+ }
+
+ .tabSection {
+ flex: 0 0 auto !important;
+ margin-left: 10px !important;
+ margin-right: 10px !important;
+ min-width: 285px;
+ width: 49%;
+ }
+
+ .name-label {
+ width: 80%;
+ }
+}