mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
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.
This commit is contained in:
parent
3f2bf36f6a
commit
dbc7446b9a
@ -21,9 +21,6 @@ $wallet-view-bg: $alabaster;
|
|||||||
.main-container {
|
.main-container {
|
||||||
z-index: $main-container-z-index;
|
z-index: $main-container-z-index;
|
||||||
font-family: Roboto;
|
font-family: Roboto;
|
||||||
display: flex;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
align-items: stretch;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-container::-webkit-scrollbar {
|
.main-container::-webkit-scrollbar {
|
||||||
|
Loading…
Reference in New Issue
Block a user