diff --git a/fusion_clock/__manifest__.py b/fusion_clock/__manifest__.py index 02f1bb7e..4e8d339a 100644 --- a/fusion_clock/__manifest__.py +++ b/fusion_clock/__manifest__.py @@ -5,7 +5,7 @@ { 'name': 'Fusion Clock', - 'version': '19.0.3.14.1', + 'version': '19.0.3.14.2', 'category': 'Human Resources/Attendances', 'summary': 'Complete Employee T&A with Geofencing, Shifts, Penalties, Overtime, Kiosk, Dashboard & Payroll Export', 'description': """ diff --git a/fusion_clock/static/src/scss/fusion_clock.scss b/fusion_clock/static/src/scss/fusion_clock.scss index a027ddaf..1e40dbf0 100644 --- a/fusion_clock/static/src/scss/fusion_clock.scss +++ b/fusion_clock/static/src/scss/fusion_clock.scss @@ -594,14 +594,23 @@ $fclk-g-pending: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%); .fclk-dash { background: $fclk-dash-page; - // Own the scroll: the Odoo action container doesn't reliably scroll a - // client action whose content exceeds the viewport, so make the - // dashboard root the scroll container. + // Scrollable client action: the root is a full-height flex column and + // the inner wrap is the real scroll container. flex:1 + min-height:0 is + // what actually lets a flex child scroll (a flex item defaults to + // min-height:auto and grows to content height, so overflow never fires). + // Pattern copied from the working fusion_accounting dashboard. + display: flex; + flex-direction: column; height: 100%; - overflow-y: auto; - // Use the full page width — no centred max-width cap. - .fclk-dash-wrap { width: 100%; padding: 20px 24px 48px; } + // Full page width + the actual scroll container. + .fclk-dash-wrap { + flex: 1; + min-height: 0; + overflow-y: auto; + width: 100%; + padding: 20px 24px 48px; + } .fclk-dash-header { display: flex; justify-content: space-between; align-items: flex-start;