ammachado commented on PR #1740:
URL: https://github.com/apache/camel-website/pull/1740#issuecomment-5636083483

   Applied both changes from your analysis in 88f908c7:
   
   1. **CSS** (`doc.css`): `min-width: 220px`, `hyphens: none`, and the 
`td:first-child p code` normalization so backtick-wrapped property names render 
the same as the generated bold text.
   2. **JS** (`11-table-breaks.js`): `<wbr>` insertion after dots, commas, 
slashes, colons and before camelCase humps for tokens >= 20 chars. Skips 
`<pre>` elements.
   
   Bundle rebuilt. The Netlify preview should update shortly.
   
   > Optional and separate: hyphens: auto on all of .doc also produces 
spe-cific and in-stances inside table cells
   
   Noted. I'll leave scoping `hyphens: auto` to prose paragraphs for a 
follow-up to keep this PR focused.
   
   > the reason the upstream cols="2,5,^1,2" hints never reach the browser is 
extensions/inline-styles.js, which strips every style attribute because the 
site CSP forbids inline styles
   
   Good finding. Converting col widths to classes in `inline-styles.js` would 
be a nice improvement but agreed it is out of scope here.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to