Skip to content

fix: [docs] restore the props table code styles - #1012

Open
rohanchkrabrty wants to merge 1 commit into
mainfrom
fix/docs-type-table
Open

rohanchkrabrty wants to merge 1 commit into
mainfrom
fix/docs-type-table

Conversation

@rohanchkrabrty

@rohanchkrabrty rohanchkrabrty commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Summary

#997 removed the fieldCode class from typetable.module.css, but
typetable.tsx still uses it for every type and default. The type cells
got the code block background and padding back, so the rows were taller
and the types were out of line with the Type header. Restore the class
and remove the unused code class that replaced it.
@vercel

vercel Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
apsara Ready Ready Preview Nov 17, 2026 9:46am UTC

@coderabbitai

coderabbitai Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 6ca55b2a-9afd-46e7-b2f9-b24635e216ce
Commits

Reviewing files that changed from the base of the PR and between 959963a and 959963a.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • No new commits to review - use @coderabbitai full review for a full pass

No actionable comments were generated in the recent review.

Walkthrough

The type table CSS adds .fieldCode styling with a transparent background and no padding. Direct spans in token lines use flex layout and can wrap. The prior .code typography, overflow-wrap, and Shiki light and dark token-color rules are removed.

Suggested reviewers: shreyag02

Merge Risk: Minimal · up to 95996

This restores the docs props table code styling, so the type cells lose the extra background and padding and line up with the header again. It is a low-risk, docs-only visual change and is ready to merge.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the change: restoring the props table code styles in the docs. The raw summary says the fieldCode class is added back and the code class and its typography rules are removed, which mat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description check Passed The description states that #997 removed the fieldCode class from typetable.module.css while typetable.tsx still uses it, causing taller type cells and misaligned rows. It proposes restoring fieldCode…
Full details: Title check

Explanation

The title names the change: restoring the props table code styles in the docs. The raw summary says the fieldCode class is added back and the code class and its typography rules are removed, which matches the title. The title includes a 'fix: [docs]' prefix, which is a minor style point and does not affect the result.

Full details: Description check

Explanation

The description states that #997 removed the fieldCode class from typetable.module.css while typetable.tsx still uses it, causing taller type cells and misaligned rows. It proposes restoring fieldCode and removing the replacement code class. This matches the raw summary, which reports the fieldCode addition and the removal of the code class and its typography and token rules.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: e3d5cadf-6c94-42ba-8e72-83a042e94d93
Commits

Reviewing files that changed from the base of the PR and between 5ee0994 and 959963a.

Files selected for processing: 1

  • apps/www/src/components/typetable/typetable.module.css

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@pkg-pr-new

pkg-pr-new Bot commented Nov 17, 2026

Copy link
Copy Markdown

Open in StackBlitz

pnpm add https://pkg.pr.new/@raystack/apsara@1012

commit: 959963a

This branch was successfully deployed

1 active deployment
Preview — 959963a6 Deployed Nov 17, 2026 by vercel[bot]
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.

2 participants