Skip to content

Commit

Permalink
Fix embeddable panel error not to overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dokmic committed Oct 28, 2022
1 parent 134955c commit e8024c9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions src/plugins/embeddable/public/lib/panel/_embeddable_panel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,12 @@
}

.embPanel__error {
text-align: center;
justify-content: center;
flex-direction: column;
overflow: auto;
padding: $euiSizeS;
padding: $euiSizeL;

& > * {
max-height: 100%;
overflow: auto;
}
}

.embPanel__label {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ export class EmbeddablePanel extends React.Component<Props, State> {
{this.state.error && (
<EuiFlexGroup
alignItems="center"
className="eui-fullHeight"
className="eui-fullHeight embPanel__error"
data-test-subj="embeddableError"
justifyContent="center"
>
Expand Down

0 comments on commit e8024c9

Please sign in to comment.