Skip to content

Update whats new to use height variable for margin-top

Scott de Jonge requested to merge 403579-whats-new-height-variables into master

What does this MR do and why?

!114984 (merged) introduces new $calc-application-header-height, $calc-application-footer-height, and $calc-application-viewport-height variables which use calc() to calculate heights based on the conditional presence of system header, system footer, performance bar, and header.

These changes update whats new to use height variable for margin-top

Screenshots or screen recordings

Variant Screenshot
All 127.0.0.1_3000_dashboard_todos__2_
Sticky header 127.0.0.1_3000_dashboard_todos__3_
Performance bar 127.0.0.1_3000_dashboard_todos__1_
None 127.0.0.1_3000_dashboard_todos

How to set up and validate locally

  1. Enable system header message in admin settings
  2. Toggle the performance bar with p + b
  3. Open "What's new drawer"
  4. Ensure position is correct

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #403579 (closed)

Edited by Scott de Jonge

Merge request reports