diff options
Diffstat (limited to 'sdnr/wt/odlux/framework/src/views')
-rw-r--r-- | sdnr/wt/odlux/framework/src/views/about.tsx | 14 | ||||
-rw-r--r-- | sdnr/wt/odlux/framework/src/views/frame.tsx | 1 |
2 files changed, 9 insertions, 6 deletions
diff --git a/sdnr/wt/odlux/framework/src/views/about.tsx b/sdnr/wt/odlux/framework/src/views/about.tsx index 59a71512c..db0411793 100644 --- a/sdnr/wt/odlux/framework/src/views/about.tsx +++ b/sdnr/wt/odlux/framework/src/views/about.tsx @@ -64,15 +64,19 @@ class AboutComponent extends React.Component<any, AboutState> { const className = "about-table" const style: React.CSSProperties = {}; + const containerStyle = { overflow: "auto", paddingRight: "20px" } const html = (marked(this.state.content || 'loading', { renderer: markedOptions && markedOptions.renderer || defaultRenderer })); return ( - <div - dangerouslySetInnerHTML={{ __html: html }} - className={className} - style={style} - /> + <div style={containerStyle}> + <div + dangerouslySetInnerHTML={{ __html: html }} + className={className} + style={style} + /> + </div> + ); } diff --git a/sdnr/wt/odlux/framework/src/views/frame.tsx b/sdnr/wt/odlux/framework/src/views/frame.tsx index f2f6f66cc..521897554 100644 --- a/sdnr/wt/odlux/framework/src/views/frame.tsx +++ b/sdnr/wt/odlux/framework/src/views/frame.tsx @@ -114,5 +114,4 @@ class FrameComponent extends React.Component<FrameProps>{ }
export const Frame = withStyles(styles)(FrameComponent);
-
export default Frame;
|