게시판 : 갤러리 목록 이미지 높이값으로 height, max-height 지정하도록 변경 (10653)
This commit is contained in:
@ -106,7 +106,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$board_skin_url.'/style.css">', 0
|
|||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="gall_con">
|
<div class="gall_con">
|
||||||
<div class="gall_img">
|
<div class="gall_img" style="height:<?php echo $board['bo_gallery_height']; ?>px;max-height:<?php echo $board['bo_gallery_height']; ?>px">
|
||||||
<a href="<?php echo $list[$i]['href'] ?>">
|
<a href="<?php echo $list[$i]['href'] ?>">
|
||||||
<?php
|
<?php
|
||||||
if ($list[$i]['is_notice']) { // 공지사항 ?>
|
if ($list[$i]['is_notice']) { // 공지사항 ?>
|
||||||
|
|||||||
@ -52,7 +52,7 @@ box-shadow:inset 0 2px 5px rgb(33, 135, 202)}
|
|||||||
#bo_gall .gall_now .gall_text_href a {color:#ff3061}
|
#bo_gall .gall_now .gall_text_href a {color:#ff3061}
|
||||||
|
|
||||||
#bo_gall .gall_href a:link, #bo_gall .gall_href a:focus, #bo_gall .gall_href a:hover {text-decoration:none}
|
#bo_gall .gall_href a:link, #bo_gall .gall_href a:focus, #bo_gall .gall_href a:hover {text-decoration:none}
|
||||||
#bo_gall .gall_img {border-bottom:1px solid #eee;text-align:center;height:200px;max-height:200px;overflow:hidden}
|
#bo_gall .gall_img {border-bottom:1px solid #eee;text-align:center;overflow:hidden}
|
||||||
#bo_gall .gall_img a,#bo_gall .gall_img .no_image,#bo_gall .gall_img .is_notice {display:block}
|
#bo_gall .gall_img a,#bo_gall .gall_img .no_image,#bo_gall .gall_img .is_notice {display:block}
|
||||||
#bo_gall .gall_img img, #bo_gall .gall_img video {max-width:100%;height:auto !important}
|
#bo_gall .gall_img img, #bo_gall .gall_img video {max-width:100%;height:auto !important}
|
||||||
#bo_gall .gall_img span {display:inline-block;background:#eaeaea;text-align:center;line-height:200px;text-transform:uppercase;font-weight:bold;font-size:1.25em;color:#777}
|
#bo_gall .gall_img span {display:inline-block;background:#eaeaea;text-align:center;line-height:200px;text-transform:uppercase;font-weight:bold;font-size:1.25em;color:#777}
|
||||||
|
|||||||
@ -6,7 +6,6 @@ include_once(G5_LIB_PATH.'/thumbnail.lib.php');
|
|||||||
add_stylesheet('<link rel="stylesheet" href="'.$board_skin_url.'/style.css">', 0);
|
add_stylesheet('<link rel="stylesheet" href="'.$board_skin_url.'/style.css">', 0);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
<!-- 게시판 목록 시작 { -->
|
<!-- 게시판 목록 시작 { -->
|
||||||
<div id="bo_gall" style="width:<?php echo $width; ?>">
|
<div id="bo_gall" style="width:<?php echo $width; ?>">
|
||||||
|
|
||||||
@ -106,7 +105,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$board_skin_url.'/style.css">', 0
|
|||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="gall_con">
|
<div class="gall_con">
|
||||||
<div class="gall_img">
|
<div class="gall_img" style="height:<?php echo $board['bo_gallery_height']; ?>px;max-height:<?php echo $board['bo_gallery_height']; ?>px">
|
||||||
<a href="<?php echo $list[$i]['href'] ?>">
|
<a href="<?php echo $list[$i]['href'] ?>">
|
||||||
<?php
|
<?php
|
||||||
if ($list[$i]['is_notice']) { // 공지사항 ?>
|
if ($list[$i]['is_notice']) { // 공지사항 ?>
|
||||||
|
|||||||
@ -52,7 +52,7 @@ box-shadow:inset 0 2px 5px rgb(33, 135, 202)}
|
|||||||
#bo_gall .gall_now .gall_text_href a {color:#ff3061}
|
#bo_gall .gall_now .gall_text_href a {color:#ff3061}
|
||||||
|
|
||||||
#bo_gall .gall_href a:link, #bo_gall .gall_href a:focus, #bo_gall .gall_href a:hover {text-decoration:none}
|
#bo_gall .gall_href a:link, #bo_gall .gall_href a:focus, #bo_gall .gall_href a:hover {text-decoration:none}
|
||||||
#bo_gall .gall_img {border-bottom:1px solid #eee;text-align:center;height:200px;max-height:200px;overflow:hidden}
|
#bo_gall .gall_img {border-bottom:1px solid #eee;text-align:center;overflow:hidden}
|
||||||
#bo_gall .gall_img a,#bo_gall .gall_img .no_image,#bo_gall .gall_img .is_notice {display:block}
|
#bo_gall .gall_img a,#bo_gall .gall_img .no_image,#bo_gall .gall_img .is_notice {display:block}
|
||||||
#bo_gall .gall_img img, #bo_gall .gall_img video {max-width:100%;height:auto !important}
|
#bo_gall .gall_img img, #bo_gall .gall_img video {max-width:100%;height:auto !important}
|
||||||
#bo_gall .gall_img span {display:inline-block;background:#eaeaea;text-align:center;line-height:200px;text-transform:uppercase;font-weight:bold;font-size:1.25em;color:#777}
|
#bo_gall .gall_img span {display:inline-block;background:#eaeaea;text-align:center;line-height:200px;text-transform:uppercase;font-weight:bold;font-size:1.25em;color:#777}
|
||||||
|
|||||||
Reference in New Issue
Block a user