Skip to content

Commit af50368

Browse files
akdlsz21TkDodo
andauthored
fix(query-devtools): add work break to code element to prevent DevPanel from expanding (#9625)
Co-authored-by: Dominik Dorfmeister <[email protected]>
1 parent f023881 commit af50368

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/query-devtools/src/Devtools.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3342,6 +3342,10 @@ const stylesFactory = (
33423342
margin: 0;
33433343
font-size: ${font.size.xs};
33443344
line-height: ${font.lineHeight.xs};
3345+
max-width: 100%;
3346+
white-space: pre-wrap;
3347+
overflow-wrap: anywhere;
3348+
word-break: break-word;
33453349
}
33463350
33473351
& pre {

0 commit comments

Comments
 (0)