fix(fusion_clock): make dashboard actually scroll (flex column + min-height:0)
Plain height:100%+overflow-y:auto did not scroll under the flex action container. Use the proven pattern: root flex column height:100%; inner .fclk-dash-wrap flex:1; min-height:0; overflow-y:auto. Bump 3.14.1 -> 3.14.2. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user