Skip to content

Commit

Permalink
docs: Updated the custom styling for the badge table in the readme to…
Browse files Browse the repository at this point in the history
… make sure the badges are spaced vertically properly. (tektronix#79)
  • Loading branch information
nfelt14 authored and qthompso committed Feb 16, 2024
1 parent 456f43c commit f16fe68
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
.. list-table::
:stub-columns: 1
:class: custom-badge-table

* - Testing
- |Code testing status| |Docs testing status| |Coverage status|
Expand Down
3 changes: 2 additions & 1 deletion docs/_static/theme_overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit f16fe68

Please sign in to comment.