diff --git a/renderer/src/styles/ui/modal.css b/renderer/src/styles/ui/modal.css index 9f068ade..5d05ee6e 100644 --- a/renderer/src/styles/ui/modal.css +++ b/renderer/src/styles/ui/modal.css @@ -85,13 +85,6 @@ max-height: 100%; } -.bd-modal-root > div[role="dialog"] { - display: flex; - flex: 1; - flex-direction: column; - overflow: hidden; -} - .bd-close-button { height: 26px; padding: 4px; diff --git a/renderer/src/ui/modals/root.jsx b/renderer/src/ui/modals/root.jsx index f8848cd2..0191a5b9 100644 --- a/renderer/src/ui/modals/root.jsx +++ b/renderer/src/ui/modals/root.jsx @@ -34,14 +34,14 @@ export default function ModalRoot({className, transitionState, children, size = } }); - return + - {children} - - ; + + ; // const [visible, setVisible] = React.useState(true); // const visible = transitionState < 2;