Skip to content

#608 Update panel.js to maxWidth .85 to match layout view panel sizing - #609

Open
pgoodrich wants to merge 1 commit into
adobe:mainfrom
pgoodrich:main
Open

#608 Update panel.js to maxWidth .85 to match layout view panel sizing#609
pgoodrich wants to merge 1 commit into
adobe:mainfrom
pgoodrich:main

Conversation

@pgoodrich

Copy link
Copy Markdown

Fix #608.

da-nx/nx2/utils/panel.js

Line 4 in fe5e950

const PANEL_WIDTH_MAX = () => Math.min(1600, window.innerWidth * 0.4);
sets the max width of the panel to .4 of the window innerWidth. This is quite small for the plugins we want to implement. Our use cases are a downstream app preview (consumes EDS content) and Target campaign management within the panel.
Ideally this would like work more like Layout view where I can freely drag the panel size to have up to more like a 85-15 panel split.

Test URLs:

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.

Request: Side panel in EW should match layout's .85 max-width

1 participant