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

[5.x]: Markdown UI Element Styling Inconsistency #16777

Closed
sandrodunkel opened this issue Feb 26, 2025 · 1 comment
Closed

[5.x]: Markdown UI Element Styling Inconsistency #16777

sandrodunkel opened this issue Feb 26, 2025 · 1 comment
Labels

Comments

@sandrodunkel
Copy link

sandrodunkel commented Feb 26, 2025

What happened?

Description

Markdown UI Elements are styled differently when in Preview.

Steps to reproduce

  1. Create a UI Markdown Element
  2. Make sure that 'Display Content in Pane' is set to true
  3. Check Entry to notice that UI Markdown Element has a gray background
  4. Open up the default preview target, {url}

Expected behavior

The UI Markdown Element should have a gray background since 'Display Content in Pane' is set to true

Actual behavior

The UI Markdown Element has a white background, but it still gets the padding/border from the 'Display Content in Pane' setting

Craft CMS version

5.6.10.1

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

@brandonkelly
Copy link
Member

Thanks for reporting that! Craft 5.6.10.2 is out with a fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants