fix(test-app): constrain JSON diagnostics output width
The Raw Diagnostics pre element was overflowing its container and causing the entire page to require horizontal scrolling, making field values in the diagnostics info section inaccessible. Added min-width: 0 and overflow: hidden to .diagnostics-json container to allow proper grid constraint propagation. Added max-width: 100%, width: 100%, and box-sizing: border-box to .json-output to ensure it respects container bounds while maintaining horizontal scroll within the pre element itself.
This commit is contained in:
@@ -520,6 +520,11 @@ export default toNative(StatusView)
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.diagnostics-json {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.diagnostics-json h3 {
|
||||
margin: 0 0 12px 0;
|
||||
color: white;
|
||||
@@ -537,8 +542,12 @@ export default toNative(StatusView)
|
||||
font-size: 12px;
|
||||
line-height: 1.4;
|
||||
overflow-x: auto;
|
||||
max-height: 300px;
|
||||
overflow-y: auto;
|
||||
max-height: 300px;
|
||||
max-width: 100%;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
/* Error Section */
|
||||
|
||||
Reference in New Issue
Block a user