Skip to content
This repository has been archived by the owner on Jan 4, 2025. It is now read-only.

Commit

Permalink
Fixes #899
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdriscoll committed Jun 22, 2019
1 parent 0f71a0f commit ae9e3a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class UDCollapsibleItem extends React.Component {
<div
className={cx('collapsible-header', { active: this.props.active })}
>
{this.props.icon && <UDIcon icon={this.props.icon}/>}
{this.props.icon && <UDIcon icon={this.props.icon} style={{margin: '5px'}}/>}
{this.props.title}
</div>
<div className="collapsible-body">{UniversalDashboard.renderComponent(this.state.content)}</div>
Expand Down
1 change: 1 addition & 0 deletions src/UniversalDashboard.Materialize/Scripts/collapsible.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ function New-UDCollapsible {
@{
type = 'ud-collapsible'
isPlugin = $true
assetId = $AssetId

id = $id
items = $Items.Invoke()
Expand Down

0 comments on commit ae9e3a8

Please sign in to comment.