Skip to content

Commit 5b5bb1e

Browse files
committed
fix: Ask component body does not vertically scroll on overflow
1 parent dc2c137 commit 5b5bb1e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Diff for: plugins/plugin-codeflare/src/components/Ask.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,9 @@ export default class AskUI extends React.PureComponent<Props, State> {
373373

374374
public render() {
375375
return (
376-
<div className="kui--madwizard-ask-ui flex-fill flex-layout flex-align-stretch">{this.ask(this.props.ask)}</div>
376+
<div className="kui--madwizard-ask-ui flex-fill flex-layout flex-align-stretch scrollable scrollable-auto">
377+
{this.ask(this.props.ask)}
378+
</div>
377379
)
378380
}
379381
}

Diff for: plugins/plugin-codeflare/web/scss/components/Ask/_index.scss

-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ $max-width: 50rem;
4646
}
4747

4848
@include Ask {
49-
&,
5049
.pf-c-card {
5150
width: $max-width;
5251
min-width: 0;

0 commit comments

Comments
 (0)