Skip to content

Fix left column resizing in add automation element dialog - #4

Closed
marcinbauer-ohf wants to merge 1 commit into
devfrom
fix-add-automation-element-dialog-column-width
Closed

Fix left column resizing in add automation element dialog#4
marcinbauer-ohf wants to merge 1 commit into
devfrom
fix-add-automation-element-dialog-column-width

Conversation

@marcinbauer-ohf

Copy link
Copy Markdown
Owner

Proposed change

In the Add trigger / condition / action dialog, the left column (the list of integrations / groups) changed width while browsing different groups on the left.

The two columns were sized with flex: 4 (left list) against flex: 6 (right items panel). Because flex items default to min-width: auto, the right panel's content — which varies per selected group — could dictate the split, so the left column width shifted as you moved between groups.

This pins the left column to a fixed width (flex: 0 0 360px) and lets the right panel take the remaining space with min-width: 0, so its content shrinks within its column instead of pushing the left column around. The mobile/column layout is unchanged.

Screenshots

Before: the left column was narrow and its labels were truncated (e.g. "Music Assist", "Perform acti", "Persistent N", "Set conversa"), and its width shifted between groups.

After: the left column stays a fixed 360px wide regardless of which group is selected.

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (thank you!)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Additional information

  • This PR fixes or closes issue: fixes #
  • This PR is related to issue or discussion:
  • Link to documentation pull request:
  • Link to developer documentation pull request:
  • Link to backend pull request:

Checklist

  • I understand the code I am submitting and can explain how it works.
  • The code change is tested and works locally.
  • There is no commented out code in this PR.
  • I have followed the perfect PR recommendations
  • Any generated code has been carefully reviewed for correctness and compliance with project standards.

If user exposed functionality or configuration variables are added/changed:

To help with the load of incoming pull requests:

🤖 Generated with Claude Code

The left list column used flex: 4 against a flex: 6 right panel. Because
flex items default to min-width: auto, the right panel's content (which
varies per group) could dictate the split, so the left column width
shifted while browsing groups.

Give the left column a fixed width (flex: 0 0 360px) and let the right
panel take the rest with min-width: 0 so its content shrinks instead of
pushing the left column around.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 20, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant