Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix horizontal padding issue in tables #233

Merged
merged 1 commit into from
Dec 19, 2023

Conversation

damianstasik
Copy link
Collaborator

@damianstasik damianstasik commented Dec 16, 2023

Description

Fixes #224

There's a specificity issue between dev and prod builds due to how Tailwind's styles are discovered. The simplest fix is to just force "our" styles as the TW's typography plugin does not allow disabling the default table styles.

I've checked links attached to the issue and they seem to work fine:
https://7d0bc05e.opentf-website.pages.dev/docs/language/syntax/json/
https://7d0bc05e.opentf-website.pages.dev/docs/language/expressions/strings/#quoted-strings

Motivation and Context

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

Copy link

cloudflare-workers-and-pages bot commented Dec 16, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: b1a77d4
Status: ✅  Deploy successful!
Preview URL: https://d4435992.opentofu.pages.dev
Branch Preview URL: https://fix-horizontal-padding-issue.opentofu.pages.dev

View logs

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this!

@damianstasik damianstasik merged commit 6d9cc1c into main Dec 19, 2023
3 checks passed
@damianstasik damianstasik deleted the fix-horizontal-padding-issue branch December 19, 2023 12:26
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.

🐛 [BUG] - Tables in docs formatting is broken.
1 participant