Release 0.1.26
버그 수정 — 쇼핑몰 메인의 긴 상품명이 grid 셀 밖으로 침범
증상: 띄어쓰기/하이픈 없는 긴 영문·숫자 상품명 (예: 222222...222) 이 .m-shop-grid 의 셀 폭을 무시하고 가로로 쭉 뻗어 옆 셀 영역을 침범.
원인:
- grid 자식 (
li.sct_li) 의 기본min-width: auto가 unbreakable string 의 intrinsic 폭에 묶여 grid track 자체가 늘어남 .sct_txt안의 텍스트도word-break처리 없어 wrap 안 됨
수정 — app/theme/basic/shop/shop.head.php 의 .m-shop-grid 규칙에 두 블록 추가:
.m-shop-grid > ul:not(.owl-carousel):not(.smt_30):not(.sctrl) > li.sct_li,
.m-shop-grid > .smt_20 > ul.sct_ul > li.sct_li {
min-width: 0;
}
.m-shop-grid .sct_txt,
.m-shop-grid .sct_txt a,
.m-shop-grid .sct_id,
.m-shop-grid .sct_id a {
overflow-wrap: anywhere;
word-break: break-word;
min-width: 0;
}변경 파일
app/theme/basic/shop/shop.head.php(+15)app/version.php