Skip to content

refactor(form): use container queries for automatic layout#1757

Draft
dr-itz wants to merge 1 commit intomainfrom
refactor/form-better-css-2
Draft

refactor(form): use container queries for automatic layout#1757
dr-itz wants to merge 1 commit intomainfrom
refactor/form-better-css-2

Conversation

@dr-itz
Copy link
Contributor

@dr-itz dr-itz commented Mar 25, 2026

DEPRECATED: In si-form-container, the input contentContainerBreakpoints no longer has any effect.


Documentation.
Examples.
Dashboards Demo.
Playwright report.

Coverage Reports:

Code Coverage

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request refactors the si-form-container component to utilize CSS container queries for responsive behavior, replacing the SiResponsiveContainerDirective. This includes updates to the component's template, styles, and TypeScript file, and deprecates the contentContainerBreakpoints input. The review suggests improving maintainability and preventing naming conflicts by consistently prefixing the new CSS container name with si-form-container in both the component's SCSS and the shared SCSS file.

@dr-itz dr-itz force-pushed the refactor/form-better-css-2 branch from 5577822 to 87089cd Compare March 25, 2026 20:16
DEPRECATED: In `si-form-container`, the input `contentContainerBreakpoints`
no longer has any effect.
@dr-itz dr-itz force-pushed the refactor/form-better-css-2 branch from 87089cd to 59671af Compare March 25, 2026 20:31
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.

1 participant