Skip to content

Conversation

@ibanFR
Copy link
Contributor

@ibanFR ibanFR commented Nov 12, 2025

🤔 What's changed?

This change adds default paragraph styles to the Description module stylesheet so free-text descriptions in Feature and Scenario blocks retain normal paragraph spacing and line breaks. It fixes the display problem in cucumber-reports where multiline descriptions were rendered compressed and hard to read.

⚡️ What's your motivation?

When Features or Scenarios include free-form descriptive text (paragraphs and multiline content), the generated HTML for cucumber-reports did not apply standard paragraph margins. As a result, paragraphs appeared compressed and visually merged, reducing readability.

See related PR: cucumber/cucumber-reports#38

🏷️ What kind of change is this?

  • 🏦 Refactoring/debt/DX (improvement to code design, tooling, etc. without changing behaviour)

♻️ Anything particular you want feedback on?

📋 Checklist:


This text was originally generated from a template, then edited by hand. You can modify the template here.

@netlify
Copy link

netlify bot commented Nov 12, 2025

Deploy Preview for cucumber-react-preview ready!

Name Link
🔨 Latest commit 9b73413
🔍 Latest deploy log https://app.netlify.com/projects/cucumber-react-preview/deploys/6918a086ddf60d000875adc9
😎 Deploy Preview https://deploy-preview-413--cucumber-react-preview.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.

@davidjgoss davidjgoss force-pushed the add-margin-for-content-paragraph branch from 308eabb to 9b73413 Compare November 15, 2025 15:47
@davidjgoss davidjgoss merged commit e41425b into cucumber:main Nov 16, 2025
6 checks passed
@davidjgoss
Copy link
Contributor

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