diff --git a/css/mobile.css b/css/mobile.css index 4b2af4614..c8d3bfb82 100644 --- a/css/mobile.css +++ b/css/mobile.css @@ -424,7 +424,7 @@ input.required:focus {border:0;background:#21272e !important;color:#fff;line-hei #bo_img h2 {margin:0;padding:0;width:0;height:0;font-size:0;line-height:0;overflow:hidden} #bo_img_list {margin:1em 0 0;padding:0 1em;list-style:none;zoom:1} #bo_img_list:after {display:block;visibility:hidden;clear:both;content:""} -.bo_img_list_li {float:left;margin:0 0 2em;width:25%} +.bo_img_list_li {float:left;margin:0 0 2em} .bo_img_con {margin:0;padding:0;list-style:none} .bo_img_con li {margin:0 0 0.3em} diff --git a/mobile/skin/board/gallery/list.skin.php b/mobile/skin/board/gallery/list.skin.php index 6f5b1cb66..6cdf6fe13 100644 --- a/mobile/skin/board/gallery/list.skin.php +++ b/mobile/skin/board/gallery/list.skin.php @@ -67,8 +67,9 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php'); if ($i == 0) $k = 0; $k += 1; if ($k % $board['bo_mobile_gallery_cols'] == 0) $style .= "margin:0 !important;"; + $li_width = 100 / $board['bo_mobile_gallery_cols']; // 100% 를 모바일 이미지 수로 나누어 li 넓이값에 적용 - 지운아빠 2013-03-07 ?> -