Skip to content

add border radius to in-content tables#4806

Merged
cortinico merged 2 commits into
mainfrom
@simek/add-border-radius-to-tables
Sep 18, 2025
Merged

add border radius to in-content tables#4806
cortinico merged 2 commits into
mainfrom
@simek/add-border-radius-to-tables

Conversation

@Simek

@Simek Simek commented Sep 17, 2025

Copy link
Copy Markdown
Collaborator

Why

Tables becomes last in-content element which was not using border radius, hence it feel like they don't match the rest of the content style.

How

Swizzle MDXComponents provider, add new entry for the tables with a dedicated wrapper to allow simple styling without any side-effects (in comparison to trying to apply styles directly on the table element).

In the process I have also made small style tweaks like separation of global border radius from inline code block radius, slight shade change for --subtle color, increased tabled striped pattern background color in dark mode for better visiblity.

Preview

Screenshot 2025-09-17 at 19 47 23 Screenshot 2025-09-17 at 19 47 35

@netlify

netlify Bot commented Sep 17, 2025

Copy link
Copy Markdown

Deploy Preview for react-native ready!

Name Link
🔨 Latest commit 447c995
🔍 Latest deploy log https://app.netlify.com/projects/react-native/deploys/68caf7ef0f005600084a2e90
😎 Deploy Preview https://deploy-preview-4806--react-native.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@cortinico cortinico merged commit 1f31b0d into main Sep 18, 2025
4 checks passed
@cortinico cortinico deleted the @simek/add-border-radius-to-tables branch September 18, 2025 09:35
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.

3 participants