close
Skip to content

fix(ui): prevent layout shift in log counter using tabular-nums#4317

Open
difagume wants to merge 1 commit intoDokploy:canaryfrom
difagume:fix(ui)--prevent-layout-shift
Open

fix(ui): prevent layout shift in log counter using tabular-nums#4317
difagume wants to merge 1 commit intoDokploy:canaryfrom
difagume:fix(ui)--prevent-layout-shift

Conversation

@difagume
Copy link
Copy Markdown
Contributor

@difagume difagume commented Apr 27, 2026

Fix: prevent layout shift in log counter

Summary

Add tabular-nums to the log lines counter to avoid horizontal layout shift when the number of digits changes.

Before

2026-04-27T15-05_34.893Z.mp4

Changes

  • Apply tabular-nums to the counter badge in deployment dialog

Type of change

  • Bug fix

Greptile Summary

Adds tabular-nums to the Tailwind class on the log-lines Badge in show-deployment.tsx, ensuring digits use fixed-width slots and eliminating the horizontal layout shift when the digit count changes during a live deployment.

Confidence Score: 5/5

Safe to merge — single-character CSS utility addition with no logic changes.

The change is a one-word Tailwind utility added to a className string. It has no impact on logic, data, or security, and directly fixes the described visual jitter.

No files require special attention.

Reviews (1): Last reviewed commit: "fix(ui): prevent layout shift in log cou..." | Re-trigger Greptile

@difagume difagume requested a review from Siumauricio as a code owner April 27, 2026 15:15
@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. bug Something isn't working labels Apr 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant