before this commit: if all pages are hidden then notebook ul was still visible due to which border for notebook ul element was displayed. after this commit: if all pages are hidden then we hides notebook ul element as well, so that we don't have empty border line of empty notebook. task-2411651 closes odoo/odoo#63420 Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com>