From d6bd3dc503d867d52c9292882deba6e08f334100 Mon Sep 17 00:00:00 2001 From: Brian Vaughn Date: Tue, 9 Apr 2019 10:18:04 -0700 Subject: [PATCH] Fixed owner stack size calculation bug that sometimes caused bad overflow --- src/devtools/views/Components/OwnersStack.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/devtools/views/Components/OwnersStack.css b/src/devtools/views/Components/OwnersStack.css index 9b85fec60a..d49a03f7f8 100644 --- a/src/devtools/views/Components/OwnersStack.css +++ b/src/devtools/views/Components/OwnersStack.css @@ -1,4 +1,6 @@ .OwnerStack { + max-width: 100%; + overflow-x: auto; flex: 1; display: flex; align-items: center; @@ -19,6 +21,9 @@ cursor: pointer; text-align: left; user-select: none; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } .Component:hover, @@ -45,7 +50,8 @@ .Bar { display: flex; - flex: 1 0 auto; + flex: 0 1 auto; + overflow-x: auto; } .VRule {