mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
#409 서명이 높이제한 이하일 때 맞추어 표시하도록 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3913 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
bb91283df4
commit
4d5c9246af
2 changed files with 2 additions and 2 deletions
|
|
@ -304,7 +304,7 @@
|
|||
$GLOBALS['__member_signature_max_height'] = $member_config->signature_max_height;
|
||||
}
|
||||
$max_signature_height = $GLOBALS['__member_signature_max_height'];
|
||||
if($max_signature_height) $signature = sprintf('<div style="height:%dpx;overflow-y:auto;overflow-x:hidden;">%s</div>',$max_signature_height, $signature);
|
||||
if($max_signature_height) $signature = sprintf('<div style="max-height:%dpx;overflow:auto;overflow-x:hidden;height:expression(this.scrollHeight > %d ? \'%dpx\': \'auto\')">%s</div>', $max_signature_height, $max_signature_height, $max_signature_height, $signature);
|
||||
|
||||
return $signature;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue