Skip to content
Merged
Changes from 1 commit
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
Next Next commit
chore: update CSS styles for code blocks and prism syntax highlighting
- Adjusted font size for `.openapi-explorer__code-block code` to inherit from parent styles for better consistency.
- Set font size for `.prism-code` to 0.9rem to enhance readability of syntax-highlighted code.
  • Loading branch information
jimmyn committed Apr 16, 2025
commit 01d1690e33e0847fc9596641fdcd9d59b85b6813
8 changes: 6 additions & 2 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,12 @@ body {
max-height: 800px;
}

.openapi-explorer__playground-editor {
--ifm-code-font-size: 100%;
.openapi-explorer__code-block code {
font-size: inherit !important;
}

.prism-code {
font-size: 0.9rem !important;
}

/* docusaurus-plugin-openapi-docs: Customize embedded schema */
Expand Down