diff --git a/WebContent/WEB-INF/view/partMng/partMngDetailPopUp.jsp b/WebContent/WEB-INF/view/partMng/partMngDetailPopUp.jsp index e5bb79e..806f48b 100644 --- a/WebContent/WEB-INF/view/partMng/partMngDetailPopUp.jsp +++ b/WebContent/WEB-INF/view/partMng/partMngDetailPopUp.jsp @@ -83,7 +83,7 @@ $(document).ready(function(){ fn_setReadOnly(); - window.resizeTo(800,690); + window.resizeTo(820,750); }); @@ -400,6 +400,60 @@ function fn_edit(){ .input_title {border-left:1px solid #ccc;} .input_sub_title {border-left:1px solid #ccc;} .pmsPopupForm tr:last-child td{border-bottom:1px solid #ccc;} + +/* 팝업 최소 너비 강제 - 창 줄여도 레이아웃 유지 */ +html, body { + min-width: 750px !important; + min-height: auto !important; +} +body.bodyNoScroll { + overflow: auto !important; +} +section { + min-width: 730px; +} +#businessPopupFormWrap { + min-width: 720px; +} +.pmsPopupForm { + width: 100%; + min-width: 700px; +} +.pmsPopupForm input[type="text"], +.pmsPopupForm select { + width: 100%; + box-sizing: border-box; +} + +/* 반응형 미디어 쿼리 오버라이드 - 이 팝업에서는 세로 쌓임 방지 */ +@media (max-width: 768px) { + .pmsPopupForm td { + display: table-cell !important; + width: auto !important; + padding: 3px 10px !important; + } + .input_title { + border-right: 1px solid #ccc !important; + } + .plm_btn_wrap_center { + flex-direction: row !important; + } + .plm_btns, .btns { + width: auto !important; + } +} + +/* 셀 높이 고정 - 창 줄여도 높이 변화 없음 */ +.pmsPopupForm td { + height: 32px !important; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} +.pmsPopupForm input[type="text"], +.pmsPopupForm select { + height: 26px !important; +}