diff --git a/styles/src/components/_text-input.scss b/styles/src/components/_text-input.scss index a7c9d2f..0db9289 100755 --- a/styles/src/components/_text-input.scss +++ b/styles/src/components/_text-input.scss @@ -103,6 +103,18 @@ $color-fg-password: -color-fg-muted !default; -fx-background-insets: 0, cfg.$border-width; } } + + .context-menu { + // prevent context menu from inheriting text inputs font properties + -fx-font-size: cfg.$font-default; + -fx-font-weight: normal; + + .menu-item { + // There's some #javafx-bug here. Setting this e.g. to 'hand' works as expected + // but 'default' changes nothing and cursor still has the 'text' shape. + -fx-cursor: default; + } + } } .text-field {