Skip to content

fix: remove duplicate spacing in log lines#14632

Open
nightcityblade wants to merge 1 commit intokestra-io:developfrom
nightcityblade:fix/log-line-spacing
Open

fix: remove duplicate spacing in log lines#14632
nightcityblade wants to merge 1 commit intokestra-io:developfrom
nightcityblade:fix/log-line-spacing

Conversation

@nightcityblade
Copy link

Description

Fixes the wrong spacing in log lines reported in #14287.

Problem

The log line header (.header in LogLine.vue) had both:

  • gap: .5rem (flexbox gap)
  • margin-left: 1rem on sibling elements (.header > * + *)

These two spacing mechanisms stacked, causing inconsistent and excessive spacing between log header elements (level badge, timestamp, metadata).

Fix

Removed the redundant margin-left rule. The flexbox gap property alone provides consistent spacing between all child elements.

Fixes #14287

The log header had both flexbox gap (.5rem) and margin-left (1rem)
on sibling elements, causing inconsistent/wrong spacing. The gap
property alone is sufficient for consistent spacing in a flex container.

Fixes kestra-io#14287
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: To review

Development

Successfully merging this pull request may close these issues.

Log have a wrong spacing

2 participants