From ce0e1c1ef98324f1f30ec2f30ffa14aed28a23b3 Mon Sep 17 00:00:00 2001 From: Jens L Date: Wed, 30 Aug 2023 00:07:36 +0200 Subject: [PATCH] web: fix notification drawer scrolling (#6675) Signed-off-by: Jens Langhammer --- web/src/elements/notifications/APIDrawer.ts | 3 +++ web/src/elements/notifications/NotificationDrawer.ts | 1 + web/src/flow/FlowInspector.ts | 3 +++ 3 files changed, 7 insertions(+) diff --git a/web/src/elements/notifications/APIDrawer.ts b/web/src/elements/notifications/APIDrawer.ts index b42e63ead..8f93bd8d2 100644 --- a/web/src/elements/notifications/APIDrawer.ts +++ b/web/src/elements/notifications/APIDrawer.ts @@ -38,6 +38,9 @@ export class APIDrawer extends AKElement { white-space: pre-wrap; font-family: monospace; } + .pf-c-notification-drawer__body { + overflow-x: hidden; + } `, ]; } diff --git a/web/src/elements/notifications/NotificationDrawer.ts b/web/src/elements/notifications/NotificationDrawer.ts index e3cdeb7c1..d8d11c664 100644 --- a/web/src/elements/notifications/NotificationDrawer.ts +++ b/web/src/elements/notifications/NotificationDrawer.ts @@ -34,6 +34,7 @@ export class NotificationDrawer extends AKElement { } .pf-c-notification-drawer__body { flex-grow: 1; + overflow-x: hidden; } .pf-c-notification-drawer__header { height: 114px; diff --git a/web/src/flow/FlowInspector.ts b/web/src/flow/FlowInspector.ts index 3e8f02bea..377fc4ad9 100644 --- a/web/src/flow/FlowInspector.ts +++ b/web/src/flow/FlowInspector.ts @@ -45,6 +45,9 @@ export class FlowInspector extends AKElement { overflow-x: hidden; white-space: break-spaces; } + .pf-c-notification-drawer__body { + overflow-x: hidden; + } `, ]; }