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

Coy: Added padding to account for box shadow #3143

Merged
merged 1 commit into from Oct 19, 2021

Conversation

RunDevelopment
Copy link
Member

@RunDevelopment RunDevelopment commented Oct 8, 2021

This adds a 1px padding to Coy's pre elements.

Coy's code elements inside code blocks have a 1px box-shadow in all directions. Since the pre has padding: 0 and the code has margin: 0, the box-shadow will peek beyond the pre. This is a problem because there might be elements right next to the pre that can obscure the box-shadow border. This is a problem with the toolbar overflow fix we need on our site:

image

@github-actions
Copy link

@github-actions github-actions bot commented Oct 8, 2021

No JS Changes

Generated by 🚫 dangerJS against bd43be3

@RunDevelopment RunDevelopment merged commit a6a4ce7 into PrismJS:master Oct 19, 2021
11 checks passed
@RunDevelopment RunDevelopment deleted the coy-pre-padding branch Oct 19, 2021
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.

None yet

1 participant