Skip to content

Use increased default height for elFinder (standalone) view#84

Merged
pxpm merged 1 commit into
Laravel-Backpack:mainfrom
jnoordsij:increase-default-elfinder-height
Mar 25, 2026
Merged

Use increased default height for elFinder (standalone) view#84
pxpm merged 1 commit into
Laravel-Backpack:mainfrom
jnoordsij:increase-default-elfinder-height

Conversation

@jnoordsij
Copy link
Copy Markdown
Contributor

@jnoordsij jnoordsij commented Mar 23, 2026

WHY

BEFORE - What was wrong? What was happening before this PR?

The default size of the elFinder instance is rather small when used in a standalone manner on a device with larger screen(s);
see e.g. https://demo.backpackforlaravel.com/admin/elfinder#elf_l1_Lw:
image

This is due to elFinder default value of 400 (pixels); see https://github.com/Studio-42/elFinder/wiki/Client-configuration-options-2.1#height.

AFTER - What is happening after this PR?

By updating the height to be 80%, the default page layout looks much more sane to me.

HOW

How did you achieve that, in technical terms?

Set the default value.

Is it a breaking change or non-breaking change?

I would say a behavioral but non-breaking change.

How can we test the before & after?

Compare the instance sizes.

@pxpm
Copy link
Copy Markdown
Contributor

pxpm commented Mar 25, 2026

Thanks @jnoordsij 🙏

@pxpm pxpm merged commit 45980fe into Laravel-Backpack:main Mar 25, 2026
2 of 3 checks passed
@jnoordsij jnoordsij deleted the increase-default-elfinder-height branch March 25, 2026 13:11
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