[FIX] hr: properly align field in mobile
The job_title field was too narrow and misaligned on mobile. Removed the help text for the Contacts smartbutton. task-3070980 closes odoo/odoo#106240 X-original-commit: 37fcdb0c105674ae0f45461c85668ed0b0ee2922 Signed-off-by: Kevin Baptiste <kba@odoo.com>
This commit is contained in:
@@ -252,7 +252,6 @@
|
||||
class="oe_stat_button"
|
||||
icon="fa-address-card-o"
|
||||
type="object"
|
||||
help="Related Contacts"
|
||||
attrs="{'invisible': [('related_contacts_count', '=', 0)]}">
|
||||
<div class="o_field_widget o_stat_info">
|
||||
<span class="o_stat_value"><field name="related_contacts_count"/></span>
|
||||
|
||||
@@ -92,8 +92,8 @@
|
||||
</h1>
|
||||
</div>
|
||||
<div class="row">
|
||||
<h2 class="col-6 ps-0">
|
||||
<field name="job_title" placeholder="Job Position" attrs="{'readonly': [('can_edit', '=', False)]}"/>
|
||||
<h2 class="col-lg-6 ps-lg-0">
|
||||
<field name="job_title" class="w-100" placeholder="Job Position" attrs="{'readonly': [('can_edit', '=', False)]}"/>
|
||||
</h2>
|
||||
</div>
|
||||
<group>
|
||||
|
||||
Reference in New Issue
Block a user