Skip to content

Conversation

@rahulsnkr
Copy link

Fixed the issue of items under the 'Wrapper' section being misaligned (issue #484).

screenshot from 2018-12-19 15-35-51

}

#wrapper {
#content-wrapper {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rahulsnkr didn't get this, why would changing the id of the css class worked for you?

Copy link
Author

@rahulsnkr rahulsnkr Dec 19, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Ram81

<div id="wrapper" className="panel-collapse collapse" role="tabpanel">
<div className="panel-body">
<PaneElement setDraggingLayer={this.props.setDraggingLayer}
handleClick={this.props.handleClick}
id="TimeDistributed_Button">Time Distributed</PaneElement>
<PaneElement setDraggingLayer={this.props.setDraggingLayer}
handleClick={this.props.handleClick}
id="Bidirectional_Button">Bidirectional</PaneElement>
</div>
</div>

The 'Wrapper' section in the pane.js file also has the same id, so the padding was being applied to that too. So I changed the id of the div in modelZoo.js, and the corresponding property name in zoo.css from 'wrapper' to 'content-wrapper'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants