Skip to content

Commit

Permalink
Fix for ACE editor cursor position issue in Classic theme (Velocidex#…
Browse files Browse the repository at this point in the history
…3262)

Should resolve the issue described in Velocidex#3259
  • Loading branch information
predictiple authored Feb 1, 2024
1 parent 06eb7c4 commit 4a705e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gui/velociraptor/src/components/users/user-label.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ export default class UserLabel extends React.Component {
let ace_options = JSON.parse(this.context.traits.ui_settings || "{}");
if (options.theme === "no-theme") {
ace_options.theme = "ace/theme/xcode";
ace_options.fontFamily = "monospace";
ace_options.fontFamily = "Iosevka Term";
} else if (options.theme === "veloci-dark") {
ace_options.theme = "ace/theme/vibrant_ink";
ace_options.fontFamily = "Iosevka Term";
Expand Down
2 changes: 2 additions & 0 deletions gui/velociraptor/src/themes/no-theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
--font-size-small: 13px;
--font-family-sans-serif: "Noto Sans", roboto, -apple-system, BlinkMacSystemFont, "Segoe UI",
"Helvetica Neue", Arial, sans-serif;
--font-family-monospace: "Iosevka Term", Iosevka-Term, SFMono-Regular, Menlo, Monaco,
"Ubuntu Mono", Consolas, "Liberation Mono", "Courier New", monospace;
--color-tooltip-background: white;
}

Expand Down

0 comments on commit 4a705e2

Please sign in to comment.