Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit 1758758

Browse files
myan9starpit
authored andcommitted
fix(plugins/plugin-client-common): the alert showing lost connection has incorrect height
Fixes #5905
1 parent 881e757 commit 1758758

File tree

2 files changed

+6
-0
lines changed
  • plugins/plugin-client-common

2 files changed

+6
-0
lines changed

plugins/plugin-client-common/src/components/Client/Kui.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ export class Kui extends React.PureComponent<Props, State> {
171171
return (
172172
<Alert
173173
hideCloseButton
174+
className="kui--terminal-alert kui--connection-lost"
174175
alert={{
175176
type: 'error',
176177
title: strings('Lost connection to your cluster'),

plugins/plugin-client-common/web/scss/components/Alert/Carbon.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@
2525
white-space: normal;
2626
height: auto;
2727

28+
&.kui--connection-lost {
29+
position: absolute;
30+
width: unset;
31+
}
32+
2833
.bx--toast-notification__title,
2934
.bx--toast-notification__subtitle {
3035
color: var(--color-text-01);

0 commit comments

Comments
 (0)