Skip to content

Commit 286cce1

Browse files
committed
fix: text wrapping in narrow flame graphs
Fixes http://github.com/microsoft/vscode/issues/140528
1 parent 2391798 commit 286cce1

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

packages/vscode-js-profile-flame/src/client/flame-graph.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,16 @@
9898
align-items: flex-start;
9999
}
100100

101+
@media (max-width: 400px) {
102+
.info {
103+
flex-direction: column;
104+
}
105+
106+
.info dl {
107+
margin-bottom: 1rem;
108+
}
109+
}
110+
101111
.info dl {
102112
display: grid;
103113
align-items: flex-start;
@@ -117,6 +127,10 @@
117127
padding-left: 1em;
118128
}
119129

130+
.info ol li {
131+
word-break: break-all;
132+
}
133+
120134
.info ol li a {
121135
padding: 0.1em 0;
122136
display: inline-block;

0 commit comments

Comments
 (0)