From 20df50fdd7610aca4b76684ab18dd8d17528a6a6 Mon Sep 17 00:00:00 2001 From: Alon Gvili <34351424+AlonGvili@users.noreply.github.com> Date: Mon, 8 Jul 2019 23:12:53 +0300 Subject: [PATCH] Fix width parameter not used in SideNav add the width parameter to SideNav component --- .../Components/ud-navigation.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/UniversalDashboard.Materialize/Components/ud-navigation.jsx b/src/UniversalDashboard.Materialize/Components/ud-navigation.jsx index a5000d70..d9074ad1 100644 --- a/src/UniversalDashboard.Materialize/Components/ud-navigation.jsx +++ b/src/UniversalDashboard.Materialize/Components/ud-navigation.jsx @@ -99,7 +99,7 @@ export default class UdNavigation extends React.Component { } return ( - this.sideNav = x} fixed={this.props.fixed} trigger={} options={{closeOnClick: true}}> + this.sideNav = x} style={{width: this.props.width}} fixed={this.props.fixed} trigger={} options={{closeOnClick: true}}> {children} ) @@ -174,4 +174,4 @@ class UDSideNavItem extends React.Component { ); } -} \ No newline at end of file +}