Skip to content

[SPARK-55771][UI][FOLLOWUP] Fix progress bar height alignment in BS5 stacked progress#54587

Closed
yaooqinn wants to merge 1 commit intoapache:masterfrom
yaooqinn:SPARK-55771-followup
Closed

[SPARK-55771][UI][FOLLOWUP] Fix progress bar height alignment in BS5 stacked progress#54587
yaooqinn wants to merge 1 commit intoapache:masterfrom
yaooqinn:SPARK-55771-followup

Conversation

@yaooqinn
Copy link
Member

@yaooqinn yaooqinn commented Mar 3, 2026

What changes were proposed in this pull request?

Fix the height mismatch between .progress-stacked container (1.42rem) and its inner .progress divs (BS5 default 1rem) by adding height: 100% to the inner .progress elements.

Why are the changes needed?

After SPARK-55771 introduced BS5 .progress-stacked, the inner .progress bars use Bootstrap 5's default height (1rem ≈ 14px) which is shorter than the custom stacked container height (1.42rem ≈ 20px). This causes the colored progress bars to not fill the full height of the container, creating a visual misalignment.

Before (misaligned — bar shorter than container):
Inner .progress = 14px, container = 20px

After (aligned — bar fills container):
Inner .progress = 100% = 20px, container = 20px

Does this PR introduce any user-facing change?

Visual fix only — progress bars now properly fill their container height.

How was this patch tested?

Manual verification with Playwright — confirmed all three elements (.progress-stacked, .progress, .progress-bar) now render at the same height (20px).

…stacked progress

The inner .progress divs inside .progress-stacked use BS5's default height (1rem/14px) which is shorter than the stacked container's custom height (1.42rem/20px), causing visual misalignment. Add height: 100% to make inner progress bars fill the parent.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@yaooqinn
Copy link
Member Author

yaooqinn commented Mar 3, 2026

image cc @pan3793

Copy link
Member

@pan3793 pan3793 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

manually verified, looks correct to me.

Image

@pan3793 pan3793 closed this in 14d7cca Mar 3, 2026
@pan3793
Copy link
Member

pan3793 commented Mar 3, 2026

thanks, merged to master

@yaooqinn yaooqinn deleted the SPARK-55771-followup branch March 3, 2026 04:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants