Skip to content

Output tab uses excessive fixed width #2355

Description

@openai0229

Chat2DB Edition

Chat2DB Community

Chat2DB Version

7379139

Deployment

Desktop

Operating System

macOS

Operating System Version

27.0

Database and Version

N/A

Problem Summary

The static Output tab in the SQL execution result panel uses the same fixed 200 px width as query-result tabs, leaving excessive empty space around its short label.

Steps to Reproduce

  1. Start the Chat2DB Community desktop client.
  2. Open a SQL console in Workspace.
  3. Execute a statement so the result panel is visible.
  4. Inspect the Output tab beside the query-result tabs.

Expected Behavior

The Output tab uses a compact fixed width that fits its icon and localized label, while query-result tabs remain fixed at 200 px for stable result-name truncation.

Actual Behavior

The Output tab is forced to 200 px by the result tabs uniform-width setting and displays a large unused area.

Logs

N/A - no runtime error is emitted.

Screenshots or Additional Context

SearchResult enables uniformTabWidth with tabMaxWidth="200px". The reusable Tabs component already supports per-item inline styles, so the static Output tab can override only its own flex basis, width, and max width.

Impact

Limited or cosmetic impact

Workaround

No known workaround

Submission Checklist

  • I reproduced this on the selected Chat2DB edition.
  • I searched existing issues for duplicates.
  • I removed credentials and private data.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions