Skip to content

Comments

Fix code height, limit scroll to last line#86

Merged
modmuss50 merged 1 commit intoFabricMC:mainfrom
deirn:deirn/fix-code-height
Feb 15, 2026
Merged

Fix code height, limit scroll to last line#86
modmuss50 merged 1 commit intoFabricMC:mainfrom
deirn:deirn/fix-code-height

Conversation

@deirn
Copy link
Member

@deirn deirn commented Feb 15, 2026

Fixed code component height:

  • Notice that the horizontal bar is not shown on files with long columns, like RegistrySynchronization. This means the component is getting cut off on the bottom. Easily can be seen on mobile version.
  • Now it follows the parent height and does not use a hacky workaround.

Also limit scroll height to last line.

Demo

Copy link
Member

@modmuss50 modmuss50 left a comment

Choose a reason for hiding this comment

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

Great, thanks :)

@modmuss50 modmuss50 merged commit f362601 into FabricMC:main Feb 15, 2026
4 checks passed
@deirn deirn deleted the deirn/fix-code-height branch February 15, 2026 17:48
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