Skip to content

Commit

Permalink
Update positron modal dialog styles (#3613)
Browse files Browse the repository at this point in the history
Addresses #3319, by allowing
long code words to break and wrap. Also noticed that the simple modal
code style was not pretty so used the style from the project wizard.

Signed-off-by: Wasim Lorgat <mwlorgat@gmail.com>
Co-authored-by: seem <mwlorgat@gmail.com>
Co-authored-by: Nick Strayer <nick.strayer@posit.co>
  • Loading branch information
3 people authored Jun 25, 2024
1 parent 893521e commit fa8c54a
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,11 @@
/* Allow overflow of extra long content */
overflow: auto;
}

.positron-modal-dialog-box .content-area code {
color: inherit;
font-family: var(--monaco-monospace-font);
font-size: 11px;
/* Wrap extra long words e.g file paths */
overflow-wrap: break-word;
}

0 comments on commit fa8c54a

Please sign in to comment.