neo4j-documentation / docs-ui

Mozilla Public License 2.0
4 stars 23 forks source link

add no-break class for tables #95

Closed recrwplay closed 2 years ago

recrwplay commented 2 years ago

Description

Adds a no-break style for tables. Prevents text from wrapping, which can be useful if you have parameter names in a column and don't want the text to wrap.

The style applies to all columns in the table, so it will often be worth trying to adjust column widths first, before using this style.

Usage

Use role="no-break" in the table setup, eg

.Table
[role="no-break",opts="header",cols="1,1,4"]
|===
...
|===
netlify[bot] commented 2 years ago

✔️ Deploy Preview for neo4j-docs-ui ready!

🔨 Explore the source changes: 9447987cd7d739dc9f2bf831d2f37dbba427a8be

🔍 Inspect the deploy log: https://app.netlify.com/sites/neo4j-docs-ui/deploys/62224e80c41fd50007ab375a

😎 Browse the preview: https://deploy-preview-95--neo4j-docs-ui.netlify.app/tables