diff --git a/CHANGELOG.md b/CHANGELOG.md index e95e08e5..6ea1f274 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ All notable changes to this project will be documented in this file. ### Fixed - TalkAPI: In One-to-One conversations the `status_message` and `status_icon` fields were always empty. +- Missing CSS styles in the documentation. #143 ## [0.3.0 - 2023-09-28] diff --git a/docs/conf.py b/docs/conf.py index 642ffcaf..ea8859db 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -71,6 +71,11 @@ autodoc_member_order = "bysource" +# Add any paths that contain custom static files (such as style sheets) here, +# relative to this directory. They are copied after the builtin static files, +# so a file named "default.css" will overwrite the builtin "default.css". +html_static_path = ["resources"] + def setup(app): app.add_js_file("js/script.js") diff --git a/docs/resources/css/styles.css b/docs/resources/css/styles.css index 111f8408..62f995e6 100644 --- a/docs/resources/css/styles.css +++ b/docs/resources/css/styles.css @@ -6,3 +6,7 @@ th p { font-size: 1rem; margin-bottom: 0; } + +.wy-nav-content { + max-width: 80% !important; +}