From 387163dab745118119c62b436e3239feeaa579bc Mon Sep 17 00:00:00 2001 From: Nikita Morozov Date: Thu, 11 Apr 2024 15:17:07 -0400 Subject: [PATCH] fix 2 scrollbars --- packages/core/src/components/hotkeys/_hotkeys.scss | 2 -- packages/core/src/legacy/hotkeysDialogLegacy.tsx | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/core/src/components/hotkeys/_hotkeys.scss b/packages/core/src/components/hotkeys/_hotkeys.scss index fbea9d2a2f..c031154216 100644 --- a/packages/core/src/components/hotkeys/_hotkeys.scss +++ b/packages/core/src/components/hotkeys/_hotkeys.scss @@ -24,8 +24,6 @@ .#{$ns}-hotkey-column { margin: auto; - max-height: 80vh; - overflow-y: auto; padding: $pt-grid-size * 3; .#{$ns}-heading { diff --git a/packages/core/src/legacy/hotkeysDialogLegacy.tsx b/packages/core/src/legacy/hotkeysDialogLegacy.tsx index 487b04ce0e..8b981680bc 100644 --- a/packages/core/src/legacy/hotkeysDialogLegacy.tsx +++ b/packages/core/src/legacy/hotkeysDialogLegacy.tsx @@ -26,7 +26,7 @@ import * as React from "react"; import * as ReactDOM from "react-dom"; import { Classes } from "../common"; -import { Dialog, type DialogProps, Hotkey, type HotkeyProps, Hotkeys } from "../components"; +import { Dialog, DialogBody, type DialogProps, Hotkey, type HotkeyProps, Hotkeys } from "../components"; interface HotkeysDialogProps extends DialogProps { /** @@ -125,7 +125,7 @@ class HotkeysDialogLegacy { isOpen={this.isDialogShowing} onClose={this.hide} > -
{this.renderHotkeys()}
+ {this.renderHotkeys()} ); }