@samitouri / QOS-React-2 / commits / d6bd3dc503

Fixed owner stack size calculation bug that sometimes caused bad overflow

Brian Vaughn committed Apr 9, 2019 at 10:18 UTC d6bd3dc503d867d52c9292882deba6e08f334100
1 file changed +7 -1
src/devtools/views/Components/OwnersStack.css
+7 -1
@@ -1,4 +1,6 @@
1 .OwnerStack {
2 + max-width: 100%;
3 + overflow-x: auto;
4 flex: 1;
5 display: flex;
6 align-items: center;
@@ -19,6 +21,9 @@
21 cursor: pointer;
22 text-align: left;
23 user-select: none;
24 + white-space: nowrap;
25 + overflow: hidden;
26 + text-overflow: ellipsis;
27 }
28
29 .Component:hover,
@@ -45,7 +50,8 @@
50
51 .Bar {
52 display: flex;
48 - flex: 1 0 auto;
53 + flex: 0 1 auto;
54 + overflow-x: auto;
55 }
56
57 .VRule {