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

Missing Table Styles in CSS #2366

Closed
stuft2 opened this issue Aug 17, 2023 · 0 comments
Closed

Missing Table Styles in CSS #2366

stuft2 opened this issue Aug 17, 2023 · 0 comments
Labels
bug Functionality does not match expectation

Comments

@stuft2
Copy link

stuft2 commented Aug 17, 2023

Search terms

readme markdown table css style

Expected Behavior

Render tables in a similar style to the rest of the typedoc theme. I added these styles to a custom css file that I include in my typedoc output via the --customCss flag:

table {
    border-collapse: collapse;
    width: 100%;
    border: none;
}
th {
    background-color: rgba(93, 93, 106, 0.53);
}
td {
    background-color: rgba(30, 32, 36, 0.47);
}
th, td {
    border: 1px solid rgba(0, 0, 0, 0.51);
    padding: 8px;
    text-align: left;
}

Actual Behavior

There are no table styles at all.

Steps to reproduce the bug

  1. Add a README.md file at the root
  2. Add a table to the README.md file
  3. Generate documentation with default typedoc theme
  4. Open the index.html file to view the missing table styles

Reproduction PR

Environment

  • Typedoc version: 0.24.8
  • TypeScript version: 5.1.6
  • Node.js version: 18.14.0
  • OS: MacOS Ventura (13.3.1)
@stuft2 stuft2 added the bug Functionality does not match expectation label Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Functionality does not match expectation
Projects
None yet
Development

No branches or pull requests

1 participant