From 9702204b00f5eed6f80b7ebdb754865d670647f2 Mon Sep 17 00:00:00 2001 From: Johannes Kirschbauer Date: Fri, 3 Jan 2025 16:36:07 +0100 Subject: [PATCH] UI: fix modal, rounding, min-width and other poperties --- pkgs/webview-ui/app/src/components/modal/index.tsx | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pkgs/webview-ui/app/src/components/modal/index.tsx b/pkgs/webview-ui/app/src/components/modal/index.tsx index c6869fe67..70f554fb2 100644 --- a/pkgs/webview-ui/app/src/components/modal/index.tsx +++ b/pkgs/webview-ui/app/src/components/modal/index.tsx @@ -9,6 +9,7 @@ interface ModalProps { handleClose: () => void; title: string; children: JSX.Element; + class?: string; } export const Modal = (props: ModalProps) => { const [dragging, setDragging] = createSignal(false); @@ -46,7 +47,10 @@ export const Modal = (props: ModalProps) => { /> { >
{

- {props.title} + + {props.title} +