Skip to content

Fixed accordion icon on large title#2770

Merged
vytisbulkevicius merged 2 commits intodevelopmentfrom
bugfix/1937
Apr 1, 2026
Merged

Fixed accordion icon on large title#2770
vytisbulkevicius merged 2 commits intodevelopmentfrom
bugfix/1937

Conversation

@girishpanchal30
Copy link
Copy Markdown
Contributor

Closes #1937

Checklist before the final review

  • Included E2E or unit tests for the changes in this PR.
  • Visual elements are not affected by independent changes.
  • It is at least compatible with the minimum WordPress version.
  • It loads additional script in frontend only if it is required.
  • Does not impact the Core Web Vitals.
  • In case of deprecation, old blocks are safely migrated.
  • It is usable in Widgets and FSE.
  • Copy/Paste is working if the attributes are modified.
  • PR is following the best practices

@girishpanchal30 girishpanchal30 requested a review from Copilot April 1, 2026 11:06
@girishpanchal30 girishpanchal30 added the pr-checklist-skip Allow this Pull Request to skip checklist. label Apr 1, 2026
@pirate-bot pirate-bot added the pr-checklist-complete The Pull Request checklist is complete. (automatic label) label Apr 1, 2026
@pirate-bot
Copy link
Copy Markdown
Contributor

Bundle Size Diff

Package Old Size New Size Diff
Animations 276.77 KB 276.77 KB 0 B (0.00%)
Blocks 1.55 MB 1.55 MB 0 B (0.00%)
CSS 105.9 KB 105.9 KB 0 B (0.00%)
Dashboard 204.08 KB 204.08 KB 0 B (0.00%)
Onboarding 165.94 KB 165.94 KB 0 B (0.00%)
Export Import 102.86 KB 102.86 KB 0 B (0.00%)
Pro 412.21 KB 412.21 KB 0 B (0.00%)

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Fixes the Accordion block’s default chevron icon deforming when the title wraps onto multiple lines (notably in narrow layouts like sidebars).

Changes:

  • Adds a flex-shrink: 0 rule to prevent the default closed-state pseudo-element icon from shrinking in flex layouts.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/blocks/blocks/accordion/style.scss
@pirate-bot
Copy link
Copy Markdown
Contributor

pirate-bot commented Apr 1, 2026

Plugin build for b1464ab is ready 🛎️!

@pirate-bot
Copy link
Copy Markdown
Contributor

pirate-bot commented Apr 1, 2026

E2E Tests

Playwright Test Status:

Performance Results serverResponse: {"q25":415.3,"q50":423.95,"q75":453.5,"cnt":10}, firstPaint: {"q25":407.2,"q50":459.3,"q75":563.8,"cnt":10}, domContentLoaded: {"q25":1563.9,"q50":1598.65,"q75":1621.9,"cnt":10}, loaded: {"q25":1564.2,"q50":1599,"q75":1622.3,"cnt":10}, firstContentfulPaint: {"q25":3262.2,"q50":3327.2,"q75":3359.2,"cnt":10}, firstBlock: {"q25":6733.2,"q50":6792.75,"q75":6872.7,"cnt":10}, type: {"q25":12.67,"q50":13.42,"q75":14.12,"cnt":10}, typeWithoutInspector: {"q25":10.69,"q50":11.73,"q75":12.37,"cnt":10}, typeWithTopToolbar: {"q25":15.11,"q50":15.64,"q75":17.58,"cnt":10}, typeContainer: {"q25":7.18,"q50":7.76,"q75":8.71,"cnt":10}, focus: {"q25":50.99,"q50":53.35,"q75":55.02,"cnt":10}, inserterOpen: {"q25":16.32,"q50":17.6,"q75":18.26,"cnt":10}, inserterSearch: {"q25":5.47,"q50":5.63,"q75":5.79,"cnt":10}, inserterHover: {"q25":2.4,"q50":2.53,"q75":2.75,"cnt":20}, loadPatterns: {"q25":1088.89,"q50":1106.12,"q75":1192.36,"cnt":10}, listViewOpen: {"q25":81.29,"q50":83.84,"q75":97.28,"cnt":10}

@vytisbulkevicius vytisbulkevicius merged commit 3eb1649 into development Apr 1, 2026
11 checks passed
@vytisbulkevicius vytisbulkevicius deleted the bugfix/1937 branch April 1, 2026 12:35
@pirate-bot
Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 3.1.8 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@pirate-bot pirate-bot added the released Indicate that an issue has been resolved and released in a particular version of the product. label Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-checklist-complete The Pull Request checklist is complete. (automatic label) pr-checklist-skip Allow this Pull Request to skip checklist. released Indicate that an issue has been resolved and released in a particular version of the product.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Accordion default icon changes shapes if title text is on multiple rows

5 participants