From dbc7446b9adb55324ba87fabba9db589cf0db9b7 Mon Sep 17 00:00:00 2001 From: Mark Stacey Date: Wed, 1 Apr 2020 13:18:36 -0300 Subject: [PATCH] Fix popup view expanding when expanding transaction (#8271) The popup view would expand beyond the width of the viewport when expanding a transaction. This bug was introduced in #8139 when I removed the `min-width: 0` property from the `home__container` class; this property was giving the parent permission to shrink that div below the size of its content. Instead of restoring that property, the parent component is no longer using `display: flex`. Flexbox was never useful here, as this is just a wrapper div around a wrapper div, both with identical sizes. The default display type of `block` produces the desired behaviour with less rules. --- ui/app/css/itcss/components/newui-sections.scss | 3 --- 1 file changed, 3 deletions(-) diff --git a/ui/app/css/itcss/components/newui-sections.scss b/ui/app/css/itcss/components/newui-sections.scss index e8613a7f4..0c8fa376a 100644 --- a/ui/app/css/itcss/components/newui-sections.scss +++ b/ui/app/css/itcss/components/newui-sections.scss @@ -21,9 +21,6 @@ $wallet-view-bg: $alabaster; .main-container { z-index: $main-container-z-index; font-family: Roboto; - display: flex; - flex-wrap: wrap; - align-items: stretch; } .main-container::-webkit-scrollbar {