css 수정

This commit is contained in:
jyha00
2025-05-21 09:12:34 +09:00
parent fb10e7483b
commit 686b97e29d
11 changed files with 167 additions and 131 deletions
@@ -97,9 +97,9 @@ export function BdstReg<T extends MoType>({ moType }: BdstRegProps<T>) {
const nodeList = headMakeColSpan(bdst.moUpHeadList);
return (
<>
<div className="grid grid-cols-12 gap-4 mt-4">
<div className="grid grid-cols-12 gap-4 mt-4 items-center">
<SelectBox
className="col-span-3 "
className="col-span-3 h-full"
label={"시도"}
selectClass={selectClass}
selectArray={code.cityCd || []}
@@ -108,7 +108,7 @@ export function BdstReg<T extends MoType>({ moType }: BdstRegProps<T>) {
{""}
</SelectBox>
<SelectBox
className="col-span-3"
className="col-span-3 h-full"
label={"시군구"}
selectClass={selectClass}
selectArray={selectSgg || []}
@@ -116,14 +116,14 @@ export function BdstReg<T extends MoType>({ moType }: BdstRegProps<T>) {
>
{" "}
</SelectBox>
<Label className="w-20 text-base text-gray-600 mt-4 text-right">건축물명</Label>
<Input className="w-full h-full text-2xl col-span-2 col-start-8" type="text" value={searchTxt || ''} onChange={(e) => setSearchTxt(e.target.value)}/>
<Button className="rounded-lg" onClick={()=>{searchBdst(searchTxt)}}>조회</Button>
<Label className="w-full text-xl text-gray-600 text-right">건축물명</Label>
<Input className="w-full h-full !text-xl col-span-2 col-start-8" type="text" value={searchTxt || ''} onChange={(e) => setSearchTxt(e.target.value)}/>
<Button className="" size={"sm"} onClick={()=>{searchBdst(searchTxt)}}>조회</Button>
</div>
<div className="border-t border-gray-300 my-4"></div>
<div className="h-auto">
<ScrollArea className="h-[20vh]">
<h1 className="text-2xl font-medium text-label pl-8">건축물 목록</h1>
<ScrollArea className="h-[30vh]">
<div>
<UiTable
tableData={bdstTable || []}
@@ -134,13 +134,13 @@ export function BdstReg<T extends MoType>({ moType }: BdstRegProps<T>) {
cellClick={(idx, headId) => (tableClick(idx, headId || ""))}
onPageChange={function (page: number): void {
throw new Error("Function not implemented.");
} } >
}}>
{nodeList}
</UiTable>
</div>
</ScrollArea>
</ScrollArea>
<div className="border-t border-gray-300 my-4"></div>
<ScrollArea className="h-[60vh]">
<ScrollArea className="h-[40vh]">
<div>
{ moType === 'RNB'?
<RainRegForm rainForm={rainBdstForm as customRainBdst} isModal={true} />