odoo icon indicating copy to clipboard operation
odoo copied to clipboard

[FIX] hr_attendance: display pin button with correct size

Open mattismegevand opened this issue 1 year ago • 1 comments

Steps to reproduce:

  • Install attendance and website
  • Toggle "Employee PIN Identification" in Settings
  • Open "Attendances"
  • Kiosk Mode
  • Identify Manually and click on an employee

Issues: The button for the pin code are too big, this is due to the CSS change in website module for the 'btn-lg' class.

https://github.com/odoo/odoo/blob/71227dbc4848c7c27c61e477a78b35e0c0167b8e/addons/website/static/src/scss/website.scss#L576-L594

As a solution I added the styling to the o_hr_attendance_PINbox_button class, such that we keep the original styling.

https://github.com/odoo/odoo/blob/71227dbc4848c7c27c61e477a78b35e0c0167b8e/addons/web/static/lib/bootstrap/dist/css/bootstrap.css#L3462-L3466

opw-3864816

mattismegevand avatar May 06 '24 11:05 mattismegevand

Pull request status dashboard.

robodoo avatar May 06 '24 11:05 robodoo

robodoo r+

Bertrand2 avatar May 17 '24 07:05 Bertrand2