Skip to content

Commit

Permalink
Merge pull request #10591 from ckeditor/ck/10585-safari-source-editin…
Browse files Browse the repository at this point in the history
…g-font

Fix (source-editing): Safari browser use monospace font for text in source editing mode. Closes #10585.
  • Loading branch information
psmyrek authored Sep 24, 2021
2 parents 39d5cb6 + 288a94d commit d30e516
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ckeditor5-source-editing/theme/sourceediting.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
.ck-source-editing-area {
display: inline-grid;
width: 100%;
font-family: monospace;
}

.ck-source-editing-area::after,
Expand All @@ -21,6 +20,7 @@
border: 1px solid transparent;
line-height: var(--ck-line-height-base);
font-size: var(--ck-font-size-normal);
font-family: monospace;
white-space: pre-wrap;
}

Expand Down

0 comments on commit d30e516

Please sign in to comment.