Skip to content

fix: add flex-shrink style for labels#547

Merged
wu-sheng merged 4 commits into
apache:mainfrom
Fine0830:bugfix/style
Apr 18, 2026
Merged

fix: add flex-shrink style for labels#547
wu-sheng merged 4 commits into
apache:mainfrom
Fine0830:bugfix/style

Conversation

@Fine0830
Copy link
Copy Markdown
Member

Screenshot

1

Signed-off-by: Qiuxia Fan qiuxiafan@apache.org

@Fine0830 Fine0830 added this to the 10.4.0 milestone Apr 18, 2026
@Fine0830 Fine0830 requested review from Copilot and wu-sheng April 18, 2026 03:26
@Fine0830 Fine0830 added the bug Something isn't working label Apr 18, 2026
wu-sheng
wu-sheng previously approved these changes Apr 18, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR addresses label layout issues in dashboard filter/header components by preventing label text from shrinking in flex layouts and aligning label line-height with Element Plus input height.

Changes:

  • Update .label styling to use line-height: var(--el-input-height, 24px) and add flex-shrink: 0.
  • Apply the .label class to the TraceList traceID label for consistent styling.
  • Remove margin-bottom from the Marketplace .link style.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
src/views/dashboard/related/trace/components/TraceList/Filter.vue Adds .label class to traceID label and updates .label CSS to avoid shrinking in flex contexts.
src/views/dashboard/related/log/Header.vue Updates .label CSS to prevent shrinking and align line-height with input height.
src/views/dashboard/related/event/Header.vue Updates .label CSS to prevent shrinking and align line-height with input height.
src/views/Marketplace.vue Removes .link margin-bottom (unrelated to label flex-shrink change).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/views/dashboard/related/trace/components/TraceList/Filter.vue
Comment thread src/views/Marketplace.vue
@Fine0830 Fine0830 requested a review from wu-sheng April 18, 2026 05:49
@wu-sheng wu-sheng merged commit f6c6612 into apache:main Apr 18, 2026
5 checks passed
@Fine0830 Fine0830 deleted the bugfix/style branch April 18, 2026 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants