Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DebuggerV2] Fix a few CSS issues in overall layout (#3721)
* Motivation for features / changes * Fix a few CSS issues in DebuggerV2's overall layout * Technical description of changes * The issues fixed include: 1. The top-section and bottom-section of the overall layout doesn't have `box-sizing: border-box;` and hence overflows by the amount of border and padding, causing scroll bars to appear. This is fixed by applying the said CSS property. 2. The top section has three children. They some times wrap undesirably (e.g., when zoom ratio is <100%) This is fixed by applying `white-space: nowrap`. 3. The stack trace component at the lower-right corner doesn't have `height` set and hence grows downward beyond the bound. This is fixed by `height: 100%` * Before: ![image](https://user-images.githubusercontent.com/16824702/84164271-5346d000-aa40-11ea-9cb2-5cb185581609.png) * After: ![image](https://user-images.githubusercontent.com/16824702/84164598-b5073a00-aa40-11ea-9577-0b7e8042fe98.png) 4. The scroll list for stack frames in stack trace component has a width that doesn't take into account the padding on the left of the parent element, which causes the scroll bar to go out of bound. * Before: ![image](https://user-images.githubusercontent.com/16824702/84164968-21823900-aa41-11ea-93f7-8fa8ee755445.png) * After: ![image](https://user-images.githubusercontent.com/16824702/84164875-0a434b80-aa41-11ea-958b-0677c52c2e73.png)
- Loading branch information