From d5dc0c19f2a31d7b66cdd51fe7dccd7f85d21838 Mon Sep 17 00:00:00 2001 From: whitedot Date: Thu, 7 Mar 2013 16:56:07 +0900 Subject: [PATCH] =?UTF-8?q?=EB=AA=A8=EB=B0=94=EC=9D=BC:=20=EA=B0=A4?= =?UTF-8?q?=EB=9F=AC=EB=A6=AC=EC=8A=A4=ED=82=A8=20=EB=84=93=EC=9D=B4=20?= =?UTF-8?q?=EC=A1=B0=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/mobile.css | 2 +- mobile/skin/board/gallery/list.skin.php | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) 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 ?> -
  • +
  • - <?=get_text($file['bf_content'])?> + <?=get_text($file['bf_content'])?>