지반침하 레이어 설정 UI 및 포인트 표시 개선

This commit is contained in:
kiminchan
2026-06-26 15:40:21 +09:00
parent 0fe1aa983c
commit e170790e4c
9 changed files with 510 additions and 480 deletions
@@ -570,9 +570,10 @@ export default React.memo(function GisTree({
return (
<div style={{ display: isVisible ? "block" : "none" }}>
<div
className="gis-layer-row flex items-center gap-2 rounded px-2 py-1 hover:bg-gray-100"
className="gis-layer-row flex w-full items-center gap-2 rounded px-2 py-1 hover:bg-gray-100"
style={{
marginInlineStart: depth * 16,
width: `calc(100% - ${depth * 16}px)`,
}}
>
{hasVisibleChildren ? (
@@ -583,7 +584,7 @@ export default React.memo(function GisTree({
title={isOpen ? "닫기" : "열기"}
/>
) : (
(isSinkholeRootTreeNode ? null : <span style={{ display: "inline-block", width: 16 }} />)
<span className="shrink-0" style={{ display: "inline-block", width: 16 }} />
)}
<input
type="checkbox"
@@ -601,7 +602,7 @@ export default React.memo(function GisTree({
{showLayerActionButton && (
<button
type="button"
className="gis-layer-action-button ml-1 shrink-0 rounded-sm border border-[#9cc6f0] bg-white px-2 py-[1px] text-[1.1rem] font-medium leading-5 text-[#2c6fb7] transition-colors hover:bg-[#eef6ff]"
className="gis-layer-action-button ml-auto shrink-0 rounded-sm border border-[#9cc6f0] bg-white px-2 py-[1px] text-[1.1rem] font-medium leading-5 text-[#2c6fb7] transition-colors hover:bg-[#eef6ff]"
onClick={() =>
handleLayerImgClick(
node.data.lyrTyNm,