Skip to content

[a3] Fix styles wtih BOM ignored by browsers, leading to UI behavior change - #5545

Merged
myovchev merged 6 commits into
a3from
a3-incident-postcss-bom
Aug 6, 2026
Merged

[a3] Fix styles wtih BOM ignored by browsers, leading to UI behavior change#5545
myovchev merged 6 commits into
a3from
a3-incident-postcss-bom

Conversation

@myovchev

@myovchev myovchev commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Please indicate which branch this PR should merge into:

Check one

  • main
  • latest
  • stable
  • Check if this PR will be resubmitted against another branch

Summary

Fixed incorrect sizing and spacing across the admin UI. A byte order mark preserved by PostCSS 8.5.24 invalidated the stylesheet rule setting line-height and box-sizing for .apos- elements. Sass is now compiled with charset: false, so the marker is never emitted.

What kind of change does this PR introduce?

(Check at least one)

  • Bug fix
  • New feature
  • Refactor
  • Documentation
  • Build-related changes
  • Other

Make sure the PR fulfills these requirements:

  • It includes a) the existing issue ID being resolved, b) a convincing reason for adding this feature, or c) a clear description of the bug it resolves
  • The changelog is updated
  • Related documentation has been updated
  • Related tests have been updated

If adding a new feature without an already open issue, it's best to open a feature request issue first and wait for approval before working on it.

Other information:

@myovchev
myovchev requested a review from BoDonkey August 4, 2026 10:57
Comment thread .github/workflows/main.yml Outdated
strategy:
matrix:
node-version: [18, 20]
node-version: [20, 22]

@BoDonkey BoDonkey Aug 4, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

20 is already EOL. Shouldn't this be 22, 24? Or will a3 not support 24 without further updates?

BoDonkey
BoDonkey previously approved these changes Aug 4, 2026
Comment thread .github/workflows/main.yml Outdated
strategy:
matrix:
node-version: [18, 20]
node-version: [20, 22]

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.

Bump to 22, 24

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

24 will "bang". It requires additional work (approved hooks, the new npm tech). This was the reason I didn't touch it yet. I'll do and make it work with the new npm

Comment thread package.json Outdated
},
"engines": {
"node": ">=16.0.0"
"node": ">=20.18.1"

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.

Bump to 22

@boutell

boutell commented Aug 4, 2026

Copy link
Copy Markdown
Member

Don't add 24, just remove 20.

@myovchev
myovchev merged commit 4a70b83 into a3 Aug 6, 2026
7 checks passed
@myovchev
myovchev deleted the a3-incident-postcss-bom branch August 6, 2026 12:13
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.

3 participants