File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -121,13 +121,14 @@ export function ExecFile(props: ExecProps) {
121121 < Modal
122122 className = { clsx (
123123 "border border-accent border-2 rounded-box relative" ,
124- "flex flex-col"
124+ "flex flex-col" ,
125+ "isolate"
125126 ) }
126127 classNameNonModal = "shadow-md m-2"
127128 open = { isModal }
128129 onClose = { ( ) => setIsModal ( false ) }
129130 >
130- < div className = "bg-base-200 flex w-full overflow-hidden items-center rounded-t-box" >
131+ < div className = "bg-base-200 flex w-full items-center rounded-t-box" >
131132 < button
132133 /* daisyuiのbtnはheightがvar(--size)で固定。
133134 ここでは最小でそのサイズ、ただし親コンテナがそれより大きい場合に大きくしたい
@@ -173,7 +174,6 @@ export function ExecFile(props: ExecProps) {
173174 { getCommandlineStr ?.( props . filenames ) }
174175 </ code >
175176 < div className = "ml-1 mr-1 tooltip tooltip-secondary tooltip-bottom z-1" >
176- { /*なぜかわからないがz-1がないと後ろに隠れてしまう*/ }
177177 < div className = "tooltip-content bg-secondary/60 backdrop-blur-xs" >
178178 ブラウザ上で動作する
179179 < span className = "mx-0.5" >
Original file line number Diff line number Diff line change @@ -459,13 +459,14 @@ export function ReplTerminal({
459459 < Modal
460460 className = { clsx (
461461 "bg-base-300 border border-accent border-2 rounded-box" ,
462- "flex flex-col"
462+ "flex flex-col" ,
463+ "isolate"
463464 ) }
464465 classNameNonModal = "shadow-md m-2 h-max"
465466 open = { isModal }
466467 onClose = { ( ) => setIsModal ( false ) }
467468 >
468- < div className = "bg-base-200 w-full overflow-hidden flex items-center rounded-t-box" >
469+ < div className = "bg-base-200 w-full flex items-center rounded-t-box" >
469470 < button
470471 /* daisyuiのbtnはheightがvar(--size)で固定。
471472 ここでは最小でそのサイズ、ただし親コンテナがそれより大きい場合に大きくしたい
@@ -493,7 +494,7 @@ export function ReplTerminal({
493494 < span className = "text-sm my-1 ml-3 text-left" >
494495 { runtimeInfo ?. prettyLangName || language } 実行環境
495496 </ span >
496- < div className = "ml-1 tooltip tooltip-secondary tooltip-bottom" >
497+ < div className = "ml-1 tooltip tooltip-secondary tooltip-bottom z-1 " >
497498 < div className = "tooltip-content bg-secondary/60 backdrop-blur-xs" >
498499 ブラウザ上で動作する
499500 < span className = "mx-0.5" >
You can’t perform that action at this time.
0 commit comments