Skip to content

feat: add adjustable height for the code editor#206

Merged
ZuperZee merged 1 commit intomainfrom
zuperzee/feat-add-adjustable-editor-height
Jun 16, 2025
Merged

feat: add adjustable height for the code editor#206
ZuperZee merged 1 commit intomainfrom
zuperzee/feat-add-adjustable-editor-height

Conversation

@ZuperZee
Copy link
Copy Markdown
Contributor

The height is adjusted with the "resize" css style. Most browsers support it, but some, like Safari, do not.

The default height is also lowered to 64px mainly to make scrolling easier.
I also found it a lot easier to get an overview and navigate through the options with the smaller editor height :D

Peek 2025-06-16 12-38

Isn't exactly what's asked in #179, but does make it easier to scroll passed the onRender block, so I will consider it solves the same problem.

Closes #179

The height is adjusted with the "resize" css style.
Most browsers support it, but some, like Safari, do not.

The default height is also lowered to 64px mainly to make
scrolling easier.
I also found it a lot easier to get an overview and navigate
through the options with the smaller editor height :D
@github-actions
Copy link
Copy Markdown

Bundle Size Changes

Hello! 👋 This comment was generated by a Github Action to help you and reviewers understand the impact of your PR on frontend bundle sizes.

Whenever this PR is updated, this comment will update to reflect the latest changes.

EntryPoint Size % Diff
module 32.91 KB (+2.05 KB) +6.64%
Files Total bundle size % Diff
23 1 MB (+2.05 KB) +0.20%
View detailed bundle information

Added

No assets were added

Removed

No assets were removed

Bigger

Name Size % Diff
module.js 32.91 KB (+2.05 KB) +6.64%

Smaller

No assets were smaller

View module information

Added

Name Size % Diff
./components/CodeEditor/HeightControllerBar.tsx 3.15 KB (+3.15 KB) -

Removed

No modules were removed

Bigger

Name Size % Diff
./components/CodeEditor/index.tsx 7.86 KB (+2.11 KB) +36.69%

Smaller

No modules were smaller

@ZuperZee ZuperZee merged commit 10a4140 into main Jun 16, 2025
5 checks passed
@ZuperZee ZuperZee deleted the zuperzee/feat-add-adjustable-editor-height branch June 17, 2025 07:21
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.

Collapsible code editors in panel options

1 participant