fix method-panel padding problem when synopsis was blank