Skip to content

fix: The git commit message field is cropped with negative zoom - #112316

Merged
Eric Amodio (eamodio) merged 2 commits into
microsoft:masterfrom
chenjigeng:fix/git-commit-msg-cropped
Jan 6, 2021
Merged

Eric Amodio (eamodio) merged 2 commits into
microsoft:masterfrom
chenjigeng:fix/git-commit-msg-cropped

Conversation

@chenjigeng

Copy link
Copy Markdown
Contributor

This PR fixes #110441

@joaomoreno João Moreno (joaomoreno) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Yes, that's related to the fact that it's hidden. But the real problem here is CSS unit rounding. The contents of that div should never escape its bounding box and when zomming out that is happening. We should not change the overflow rule.

@chenjigeng

Copy link
Copy Markdown
Contributor Author

Yes, you are right. I try to change margin to padding. And it work. João Moreno (@joaomoreno) Please see if that's ok
image

@eamodio Eric Amodio (eamodio) added the git GIT issues label Jan 6, 2021
@eamodio Eric Amodio (eamodio) added this to the January 2021 milestone Jan 6, 2021
@eamodio

Copy link
Copy Markdown
Contributor

Looks good -- thanks so much for the contribution!

@eamodio
Eric Amodio (eamodio) merged commit ac10e57 into microsoft:master Jan 6, 2021
@github-actions github-actions Bot locked and limited conversation to collaborators Feb 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

git GIT issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The git commit message field is cropped with negative zoom

3 participants