-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
Description
Attempting to wrap a React Component in a Grid Layout for a fluid width change in the panel across devices like this:
Example 1:
<div className="ms-Grid">
<div className="ms-Grid-row">
<div className="ms-Grid-col ms-sm12 ms-lg2">
<Panel
isOpen={ this.state.showPanel }
onDismiss={ this._onClosePanel }>
</Panel>
</div>
</div>
</div>
or like this:
Example 2:
<div class="ms-Grid">
<div class="ms-Grid-row">
<Panel
className="ms-Grid-col ms-sm12 ms-lg2"
isOpen={ this.state.showPanel }
onDismiss={ this._onClosePanel }>
</Panel>
</div>
</div>
Neither seem to produce any result. Instead I seem to have override the Panel Component's CSS in a SASS file and create custom styling over different viewport widths.
Is there a way to integrate Grid Layouts with Fabric UI Components?
Thanks!