[FIX] hr_skills: fix extra white space in CV printing

Before this commit if we print resume and if long description is added then by
default whole section moves to next page leaving extra white spaces behind

FIX:
After this commit if we add long description then section will not move to the
next page basically w-auto class has been added which prevent it from moving
to the next page because now div gets auto or natural width the w-auto class
ensures that the div expands horizontally to fit its content allowing
the text to wrap naturally.

task-3279176

closes odoo/odoo#128715

X-original-commit: 16e9499b3d266ea595b8dd4db6fcb566acf8f04b
Signed-off-by: Sofie Gvaladze (sgv) <sgv@odoo.com>
This commit is contained in:
shag-odoo
2023-07-25 17:35:35 +02:00
parent 669d7e1bcd
commit ad66dd52ee
@@ -76,7 +76,7 @@
</div>
</div>
</div>
<div class="o_main_panel_resume_description ps-5">
<div class="o_main_panel_resume_description ps-5 w-auto">
<p t-field="resume_line.description"/>
</div>
</t>