Skip to content

Remove subgrid fallbacks (#127) - #768

Merged
bedrich-schindler merged 1 commit into
masterfrom
refactoring/127
Oct 20, 2026
Merged

bedrich-schindler merged 1 commit into
masterfrom
refactoring/127

Conversation

@bedrich-schindler

Copy link
Copy Markdown
Contributor

All supported browsers support subgrid, so the @supports not (grid-template-columns: subgrid) fallbacks in form field and FormLayout styles are removed. Form fields rendered as <fieldset> keep display: contents, as subgrid does not work there yet (#232).

Closes #127

@github-actions

github-actions Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-10-20 13:20 UTC

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

Update the stale public FormLayout README guidance and obsolete issue reference.

Review effort: Lite
Findings: 1 Low severity

Open (1)
What changed in this PR

Removes obsolete CSS subgrid fallbacks while preserving display: contents for fieldset-based fields.

Changes:

  • Removes fallback rules from form-field layouts.
  • Updates subgrid and fieldset documentation.
  • Retains fieldset-specific handling.
File Summary
src/​styles/​tools/​form-fields/​_inline-field-layout.scss Removes inline-field fallbacks.
src/​styles/​tools/​form-fields/​_inline-field-elements.scss Removes fallback tap-target styling.
src/​styles/​tools/​form-fields/​_box-field-layout.scss Removes box-field fallback while preserving fieldset handling.
src/​components/​FormLayout/​FormLayout.module.scss Updates subgrid documentation.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/components/FormLayout/FormLayout.module.scss

@adamkudrna adamkudrna left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please just remove the stale paragraph from the FormLayout README.

@bedrich-schindler
bedrich-schindler merged commit ea549ed into master Oct 20, 2026
13 checks passed
@bedrich-schindler
bedrich-schindler deleted the refactoring/127 branch October 20, 2026 13:20

This branch was successfully deployed

1 active deployment
pr-preview/pr-768 — f968505f Deployed Oct 20, 2026 by bedrich-schindler via Deploy PR Preview #143
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove subgrid fallbacks once it's fully supported in all browsers

3 participants