added scroll bars to modal

fixes: #25433
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
This commit is contained in:
Erik Jan de Wit 2023-12-15 13:52:34 +01:00 committed by Hynek Mlnařík
parent 986b6af4f5
commit 6f2579393b
3 changed files with 7 additions and 5 deletions

View file

@ -3,6 +3,8 @@ import { useTranslation } from "react-i18next";
import { KeyProviderForm } from "./KeyProviderForm";
import type { ProviderType } from "../../routes/KeyProvider";
import style from "./key-provider-modal.module.css";
type KeyProviderModalProps = {
providerType: ProviderType;
onClose: () => void;
@ -15,7 +17,7 @@ export const KeyProviderModal = ({
const { t } = useTranslation();
return (
<Modal
className="add-provider-modal"
className={style.dialog}
variant={ModalVariant.medium}
title={t("addProvider")}
isOpen

View file

@ -0,0 +1,4 @@
.dialog {
overflow: scroll;
}

View file

@ -86,10 +86,6 @@ div#offline-session-max-label > .pf-c-form__group-label {
width: 85%;
}
.add-provider-modal > div.pf-c-modal-box__body {
overflow: visible;
}
.pf-c-content.messageBundleDescription {
max-width: 1024px;
padding-bottom: var(--pf-global--spacer--lg);