Skip to content

Commit

Permalink
fix(plugins/plugin-client-common): LeftNavSidecar content section can…
Browse files Browse the repository at this point in the history
… take over full width

Fixes kubernetes-sigs#4831
  • Loading branch information
starpit committed Jun 6, 2020
1 parent 03876db commit 7252ad4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ export default class Markdown extends React.PureComponent<Props> {
return (
<ReactMarkdown
source={this.props.source}
className={this.props.className || 'padding-content scrollable scrollable-auto marked-content page-content'}
className={
this.props.className || 'padding-content scrollable scrollable-x scrollable-auto marked-content page-content'
}
renderers={{
link: props => {
const isLocal = !/^http/i.test(props.href)
Expand Down
4 changes: 4 additions & 0 deletions plugins/plugin-client-common/web/css/static/sidecar.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
@import "../../scss/components/Navigation/common";

.kui--sidecar.visible.kui--nav-view {
.kui--sidecar-content {
width: 70%;
}

.sidecar-bottom-stripe-left-bits {
display: none;
}
Expand Down

0 comments on commit 7252ad4

Please sign in to comment.