fix: improve workbench height & box-sizing #223
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
简介
workbench
的高度问题,该问题会导致后续 collapse 计算高度出现误差。antd
样式后,由于ant-layout
会修改子节点的box-sizing
导致出现样式误差主要变更
workbench
设置高度,防止后续出现误差border-box
的以后的节点的样式workbench
的高度设置了以后会比设置之前少一些,所以 global activity bar 的按钮的padding
可以不需要设置了