Skip to content

Improve styling of specification - #37

Merged
mattt merged 7 commits into
mainfrom
mattt/update-spec-style
Jun 1, 2026
Merged

Improve styling of specification#37
mattt merged 7 commits into
mainfrom
mattt/update-spec-style

Conversation

@mattt

@mattt mattt commented Jun 1, 2026

Copy link
Copy Markdown
Member

No description provided.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
sembr-org 447b87f Jun 01 2026, 11:23 AM

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.

Pull request overview

Improves the presentation of the SemBr specification by refining global styling for code blocks and tables, and by enhancing the rendered specification’s comparison table with accessible “supported/not supported” indicators.

Changes:

  • Adjust code/pre formatting to improve horizontal scrolling behavior and whitespace handling.
  • Add global table styling (caption, cell padding/alignment, row separators) and styling for support-status markers.
  • Preprocess the fetched specification Markdown before rendering to replace “Supported/Not supported” table cells with accessible inline HTML indicators, while keeping the plain Markdown body unchanged for non-HTML consumers.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/styles/global.css Improves code block scrolling/whitespace behavior; adds table styling and support marker styling used by the rendered spec.
src/content.config.ts Adds a render-time preprocessing step to inject accessible support indicators into the rendered spec without changing the plain Markdown body served to text consumers.

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

@mattt
mattt merged commit bf10d12 into main Jun 1, 2026
2 checks passed
@mattt
mattt deleted the mattt/update-spec-style branch June 1, 2026 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants