support resize log div