From d53606051bf23667b407a0b46c753a9d9c118f6a Mon Sep 17 00:00:00 2001 From: Kentaro Kaji Date: Wed, 6 Nov 2024 11:30:31 -0500 Subject: [PATCH] handle scrolling --- src/components/InfoDialog/InfoDialog.css | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/src/components/InfoDialog/InfoDialog.css b/src/components/InfoDialog/InfoDialog.css index 5087ece..37e535d 100644 --- a/src/components/InfoDialog/InfoDialog.css +++ b/src/components/InfoDialog/InfoDialog.css @@ -1,5 +1,6 @@ .dialog { - z-index: 100; + z-index: 100; + overflow-y: scroll; } .dialog.show { @@ -15,10 +16,17 @@ } .close-button { - position: absolute; + z-index: 1; + position: fixed; top: 10px; right: 10px; - height: 1rem; - width: 1rem; cursor: pointer; } + +/* .container { + margin: 1rem 0; +} */ + +h2 { + margin-top: 0; +}