summaryrefslogtreecommitdiffstats
path: root/manual
diff options
context:
space:
mode:
authorm-holger <m-holger@kubitscheck.org>2022-01-17 13:22:35 +0100
committerJay Berkenbilt <ejb@ql.org>2022-01-30 19:11:03 +0100
commit1efcda16571ef41363549273499ab65642fb66cb (patch)
treebd442a1b0f57bbd527987a16e8d1969a8838233b /manual
parentf2a3b9cbfc4846d772611f09b5f9b7ad3b8c2c16 (diff)
downloadqpdf-1efcda16571ef41363549273499ab65642fb66cb.tar.zst
Manual: enable line wrapping in table cells
Diffstat (limited to 'manual')
-rw-r--r--manual/_static/css/wraptable.css4
-rw-r--r--manual/conf.py4
2 files changed, 8 insertions, 0 deletions
diff --git a/manual/_static/css/wraptable.css b/manual/_static/css/wraptable.css
new file mode 100644
index 00000000..732e7a98
--- /dev/null
+++ b/manual/_static/css/wraptable.css
@@ -0,0 +1,4 @@
+/* ensure text in table cells wrap */
+.wy-table-responsive table td, .wy-table-responsive table th {
+ white-space: normal;
+}
diff --git a/manual/conf.py b/manual/conf.py
index 3f334d8c..dafd49f1 100644
--- a/manual/conf.py
+++ b/manual/conf.py
@@ -27,4 +27,8 @@ html_theme_options = {
"body_max_width": None,
}
html_logo = '../logo/qpdf.svg'
+html_static_path = ['_static']
+html_css_files = [
+ 'css/wraptable.css',
+]
highlight_language = 'none'