커뮤니티 상세 보기 내용 세로 스크롤 제거

dev_bert
kyebyungha 3 years ago
parent 409fbc1622
commit 25a23af293

@ -131,7 +131,7 @@
<!-- //swiper_wrap --> <!-- //swiper_wrap -->
<div class="vote_cont" > <div class="vote_cont" >
<textarea class="content" cols='110' readOnly style="border: none;padding-left: 30px;">${model ['rm']['content']!}</textarea> <textarea class="b_content" cols='105' readOnly style="border: none;padding-left: 30px;overflow:hidden;">${model ['rm']['content']!}</textarea>
</div> </div>
</div> </div>
@ -797,10 +797,12 @@
}); });
$(".comment_input_cont").hide(); $(".comment_input_cont").hide();
var txtArea = $(".content"); var txtArea = $(".b_content");
if (txtArea) { if (txtArea) {
txtArea.each(function(){ txtArea.each(function(){
$(this).height(this.scrollHeight); $(this).height(this.scrollHeight);
$(this).css("overflow","hidden");
}); });
} }

Loading…
Cancel
Save