From f16fe682827c633a998ecd546ed74308bf035372 Mon Sep 17 00:00:00 2001 From: Nicholas Felt Date: Mon, 30 Oct 2023 11:15:12 -0700 Subject: [PATCH] docs: Updated the custom styling for the badge table in the readme to make sure the badges are spaced vertically properly. (#79) --- README.rst | 1 + docs/_static/theme_overrides.css | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 38d32042..abaf3076 100644 --- a/README.rst +++ b/README.rst @@ -11,6 +11,7 @@ .. list-table:: :stub-columns: 1 + :class: custom-badge-table * - Testing - |Code testing status| |Docs testing status| |Coverage status| diff --git a/docs/_static/theme_overrides.css b/docs/_static/theme_overrides.css index 1d824525..e15ad755 100644 --- a/docs/_static/theme_overrides.css +++ b/docs/_static/theme_overrides.css @@ -31,8 +31,9 @@ div.admonition.no-icon > .admonition-title { } /** Modify class that enables auto-wrap in tables */ -.wy-table-responsive table td, .wy-table-responsive table th { +.custom-badge-table tbody td, .custom-badge-table tbody th, .custom-badge-table tbody td>p { white-space: inherit; + line-height: 1.5rem !important; } /** Fix admonition symbols */