Skip to content

fix: add word-wrap support for code snippets in docs - fixes #181#194

Open
Sushma-1206 wants to merge 1 commit intoExtralit:developfrom
Sushma-1206:fix/docs-word-wrap
Open

fix: add word-wrap support for code snippets in docs - fixes #181#194
Sushma-1206 wants to merge 1 commit intoExtralit:developfrom
Sushma-1206:fix/docs-word-wrap

Conversation

@Sushma-1206
Copy link

Description

This PR fixes the word-wrap issue in documentation code snippets.

Code snippets were extending horizontally and requiring scrolling,
making them hard to read especially on smaller screens.

Changes

  • Added white-space: pre-wrap
  • Added word-wrap: break-word
  • Added overflow-wrap: break-word
    to extra.css stylesheet.

Related Tickets & Documents

Fixes #181

GSoC 2026

This contribution is part of my GSoC 2026 application to Extralit
under Open Science Labs.

@Sushma-1206 Sushma-1206 requested a review from a team as a code owner February 24, 2026 16: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.

[DOCS] Add word-wrap support for code snippets in documentation

1 participant