Fix layout tab scrolling in playground
Summary: Add a scroll bar to layout tab in playground to fix the UI issue where margin, border were not accessible. Reviewed By: danielbuechele Differential Revision: D19906128 fbshipit-source-id: 2c2d7695f731b2d312b78eab31c66d737915eaae
This commit is contained in:
committed by
Facebook Github Bot
parent
bfc3b2f86f
commit
6c61cd5f05
@@ -51,7 +51,8 @@
|
||||
}
|
||||
|
||||
.Editor .ant-tabs-tabpane {
|
||||
overflow-y: scroll;
|
||||
overflow-y: auto;
|
||||
height: 45vh;
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
|
@@ -196,7 +196,7 @@ export default class Editor extends Component<Props> {
|
||||
onChange={this.props.onChangeLayout}
|
||||
/>
|
||||
</TabPane>
|
||||
<TabPane tab="Layout" key="3">
|
||||
<TabPane tab="Layout" key="3" className="ant-tabs-tabpane">
|
||||
<h2>
|
||||
Width × Height
|
||||
<InfoText doclink="/docs/width-height">
|
||||
|
Reference in New Issue
Block a user