mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-11 19:44:15 +00:00
support primaryPanelClassName
This commit is contained in:
parent
7ea2f587f8
commit
dbcc25e945
@ -119,6 +119,7 @@ export class PagePanelWithNavMenu extends React.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return <PagePanels
|
return <PagePanels
|
||||||
|
primaryPanelClassName={this.props.primaryPanelClassName}
|
||||||
panels={panels}
|
panels={panels}
|
||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
@ -163,6 +164,7 @@ export default class PagePanels extends React.Component {
|
|||||||
{
|
{
|
||||||
this.props.panels[1] && <Panel
|
this.props.panels[1] && <Panel
|
||||||
{...this.props.panels[1]}
|
{...this.props.panels[1]}
|
||||||
|
className={this.props.primaryPanelClassName}
|
||||||
align="center"
|
align="center"
|
||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
&.full {
|
&.full {
|
||||||
height: 100%;
|
//height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.left {
|
&.left {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user