Skip to content

Commit

Permalink
feat: add monaco docs CSS override (#2250)
Browse files Browse the repository at this point in the history
- Adds #2247 
- Adds a few CSS overrides to Monaco
  • Loading branch information
stevenwu15 authored Oct 17, 2024
1 parent 4e8ad58 commit 6b949d5
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions packages/console/src/notebook/Editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,18 @@
color: $link-color;
}
}

// Override Monaco's default markdown popups (i.e signature help) to resemble VS Code closer
// The classes come from Monaco itself, not core or web-client-ui
.rendered-markdown.markdown-docs {
min-width: 12rem;

hr {
background-color: $text-muted;
height: 1px;
}

blockquote {
margin-left: $spacer-4;
}
}

0 comments on commit 6b949d5

Please sign in to comment.