Skip to content

Commit

Permalink
Align all table columns (#407)
Browse files Browse the repository at this point in the history
  • Loading branch information
germanfrelo authored Apr 22, 2024
1 parent 209ec24 commit c95bcb9
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,19 @@
width: 100%;
}

/* Align all table columns */

/* Make cells with rule name as wide as possible */
.docs-doc-id-user-guide\/rules .markdown table td:first-child {
width: 100%;
}

/* Make cells without symbol (empty) have the same width as cells with symbol */
.docs-doc-id-user-guide\/rules .markdown table td:not(:first-child) {
box-sizing: content-box;
min-width: 1rem;
}

/* Make a rule name stand out */
.docs-doc-id-user-guide\/rules .markdown table tbody tr td:first-child :link code {
font-weight: bold;
Expand Down

0 comments on commit c95bcb9

Please sign in to comment.