Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quick-fix tables display #75

Merged
merged 1 commit into from
Jan 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Add missing support for swahili (#66)
- Do not parse the whole markdown as YAML, but only the frontmatter (#64)
- Properly parse/present mathjax code (#57)
- Fix display of tables in challenge instructions (#75)

## [1.2.0] - 2025-01-16

Expand Down
23 changes: 23 additions & 0 deletions zimui/public/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,26 @@ a[href^="https://"]:after
.MathJax svg {
display: inline;
}

.markdown table {
display: inline-block;
overflow: auto;
}
.markdown table thead {
border-color: inherit;
background-color: lightblue;
display: table-header-group;
vertical-align: middle;
}
.markdown table th {
font-weight: 700;
}
.markdown table td,
.markdown table th {
border: 1px solid black;
padding: 6px 13px;
text-align: center;
}
.markdown table tbody tr:nth-of-type(odd) {
background-color: rgb(211, 211, 211, 0.3);
}