Skip to content

Fixed context selector pane moving body#2733

Merged
joeyballentine merged 1 commit intochaiNNer-org:mainfrom
RunDevelopment:pained-pane-fix
Apr 4, 2024
Merged

Fixed context selector pane moving body#2733
joeyballentine merged 1 commit intochaiNNer-org:mainfrom
RunDevelopment:pained-pane-fix

Conversation

@RunDevelopment
Copy link
Member

This fixes a visual bug for the node context selector. If the window height was too small, the node selector sometimes would not fit and cause the body to scroll.

image

I fixed this by

  1. Making it so that the body can never scroll. and
  2. Making sure the context selector always fits by giving it a max height of 50% viewport height.

image

As a minor design change, I also removed the weird padding at the top (and bottom) of the context selector. That one always bothered me, so I took the chance to remove it.

@joeyballentine joeyballentine merged commit 2dd3d88 into chaiNNer-org:main Apr 4, 2024
@RunDevelopment RunDevelopment deleted the pained-pane-fix branch April 4, 2024 13:10
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.

2 participants