@@ -320,7 +320,7 @@ function WhenVariableSelect({
320320
321321 return (
322322 < Select value = { value } onValueChange = { ( nextValue ) => nextValue && onChange ( nextValue ) } >
323- < SelectTrigger size = "compact" className = "min-w-0 flex-1 font-mono " >
323+ < SelectTrigger size = "compact" className = "min-w-0 flex-1" >
324324 < SelectValue placeholder = "Condition" className = "leading-7" />
325325 { unknownIdentifiers && unknownIdentifiers . length > 0 ? (
326326 < UnknownWhenVariableWarning identifiers = { unknownIdentifiers } focusable = { false } />
@@ -333,11 +333,7 @@ function WhenVariableSelect({
333333 className = "max-h-72 w-fit min-w-44"
334334 >
335335 { options . map ( ( option ) => (
336- < SelectItem
337- key = { option }
338- value = { option }
339- className = "min-h-7 w-full py-1 font-mono text-[12px]"
340- >
336+ < SelectItem key = { option } value = { option } className = "min-h-7 w-full py-1 text-[12px]" >
341337 < span className = "truncate" > { option } </ span >
342338 </ SelectItem >
343339 ) ) }
@@ -546,10 +542,10 @@ function WhenExpressionNodeEditor({
546542 popupClassName = "w-fit"
547543 className = "w-fit min-w-24"
548544 >
549- < SelectItem value = "and" className = "min-h-7 py-1 font-mono text-[12px]" >
545+ < SelectItem value = "and" className = "min-h-7 py-1 text-[12px]" >
550546 and
551547 </ SelectItem >
552- < SelectItem value = "or" className = "min-h-7 py-1 font-mono text-[12px]" >
548+ < SelectItem value = "or" className = "min-h-7 py-1 text-[12px]" >
553549 or
554550 </ SelectItem >
555551 </ SelectContent >
@@ -877,7 +873,8 @@ function KeybindingKeyControl({
877873 value = { isRecording ? "" : keyDraft }
878874 placeholder = { isRecording ? "Press shortcut" : "Unassigned" }
879875 size = "sm"
880- className = { cn ( "w-44 font-mono" , isRecording && "border-primary/70 bg-primary/5" ) }
876+ font = "mono"
877+ className = { cn ( "w-44" , isRecording && "border-primary/70 bg-primary/5" ) }
881878 onFocus = { ( ) => setDraft ( { isRecording : true } ) }
882879 onBlur = { ( ) => setDraft ( { isRecording : false } ) }
883880 onChange = { ( event ) => setDraft ( { keyDraft : event . currentTarget . value } ) }
@@ -1190,7 +1187,8 @@ function NewKeybindingKeyInput({
11901187 value = { draft . isRecording ? "" : draft . keyDraft }
11911188 placeholder = { draft . isRecording ? "Press shortcut" : "Unassigned" }
11921189 size = "sm"
1193- className = { cn ( "font-mono" , draft . isRecording && "border-primary/70 bg-primary/5" , className ) }
1190+ font = "mono"
1191+ className = { cn ( draft . isRecording && "border-primary/70 bg-primary/5" , className ) }
11941192 onFocus = { ( ) => draft . setDraft ( { isRecording : true } ) }
11951193 onBlur = { ( ) => draft . setDraft ( { isRecording : false } ) }
11961194 onChange = { ( event ) => draft . setDraft ( { keyDraft : event . currentTarget . value } ) }
0 commit comments