Skip to content

Commit

Permalink
refactor(docs): adjust table width to improve readability
Browse files Browse the repository at this point in the history
  • Loading branch information
edouard-lopez committed Jan 23, 2024
1 parent f954f26 commit 016f5e7
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/stylesheets/extra.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
.md-typeset__table {
width: 100%;
}

.md-typeset table:not([class]) {
display: table;
}

td code {
white-space: nowrap !important;
}

.md-typeset table:not([class]) th {
min-width: 1em;
}
3 changes: 3 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ extra:
- icon: fontawesome/brands/github
link: https://github.com/pure-fish/pure/

extra_css:
- stylesheets/extra.css

plugins:
- search
- awesome-pages
Expand Down

0 comments on commit 016f5e7

Please sign in to comment.