Skip to content

Misaligned right border from the code blocks or message block. #1402

@dkmnx

Description

@dkmnx

What happened?

Code blocks border was sometimes misaligned when the code is too long.

This is the sample image from Qwen Code CLI.
Image

See the difference?

What did you expect to happen?

Code blocks' right border should be aligned.

Though this is just a minor issue, but it will greatly improve the UI/UX.

Thanks.

Client information

Client Information

Run qwen to enter the interactive CLI, then run the /about command.

$ qwen /about

╭─────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                 │
│ About Qwen Code                                                                                 │
│                                                                                                 │
│ CLI Version                      0.7.1                                                          │
│ Git Commit                       985f65f8                                                       │
│ Model                            coder-model                                                    │
│ Sandbox                          no sandbox                                                     │
│ OS Platform                      linux                                                          │
│ OS Arch                          x64                                                            │
│ OS Release                       6.18.5-2-cachyos                                               │
│ Node.js Version                  v24.11.1                                                       │
│ NPM Version                      11.6.2                                                         │
│ Session ID                       dc39bfa8-c6c2-468b-9200-ec2cf4110a6b                           │
│ Auth Method                      qwen-oauth                                                     │
│ Memory Usage                     305.5 MB                                                       │
│                                                                                                 │
╰─────────────────────────────────────────────────────────────────────────────────────────────────╯

Login information

No response

Anything else we need to know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    status/needs-triageIssue needs to be triaged and labeledtype/bugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions