Skip to content

Fix image preview position for narrow windows - #666

Merged
VAWVAW merged 1 commit into
ulyssa:mainfrom
VAWVAW:image-preview-fix-narrow-window
Sep 11, 2026
Merged

VAWVAW merged 1 commit into
ulyssa:mainfrom
VAWVAW:image-preview-fix-narrow-window

Conversation

@VAWVAW

@VAWVAW VAWVAW commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator

If only one message column is shown, the message text is indented by two spaces instead of the user_gutter_width. The method user_gutter_width() is used to calculate the x offset of the message for image previews and reports 0, leading to image previews being rendered two characters left of the placeholder.

@VAWVAW
VAWVAW merged commit 4d18844 into ulyssa:main Sep 11, 2026
5 checks passed
@VAWVAW
VAWVAW deleted the image-preview-fix-narrow-window branch September 11, 2026 20:36
@VAWVAW VAWVAW added this to the v0.0.12 milestone Sep 11, 2026
@ulyssa ulyssa mentioned this pull request Sep 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant