Skip to content

Commit

Permalink
fix(dashboard): More touch-ups
Browse files Browse the repository at this point in the history
  • Loading branch information
SokratisVidros committed Jan 17, 2025
1 parent 16ed20d commit 820e2c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { autocompletion } from '@codemirror/autocomplete';
import { EditorView } from '@uiw/react-codemirror';
import clsx from 'clsx';
import { cn } from '@/utils/ui';

import { Editor } from '@/components/primitives/editor';
import { Popover, PopoverTrigger } from '@/components/primitives/popover';
Expand Down Expand Up @@ -90,7 +90,7 @@ export function ControlInput({
);

return (
<div className={clsx('relative h-full w-full p-2.5', className)}>
<div className={cn('relative h-full w-full p-2.5', className)}>
<Editor
size={size}
fontFamily="inherit"
Expand All @@ -102,7 +102,6 @@ export function ControlInput({
extensions={extensions}
value={value}
onChange={onChange}
className="flex-1"
/>
<Popover open={!!selectedVariable} onOpenChange={handleOpenChange}>
<PopoverTrigger asChild>
Expand Down
2 changes: 1 addition & 1 deletion apps/dashboard/src/components/primitives/hint.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const HINT_ICON_NAME = 'HintIcon';
export const hintVariants = tv({
slots: {
root: 'group flex items-center gap-1 text-paragraph-xs text-text-sub',
icon: 'size-4 shrink-0 text-text-soft',
icon: 'size-4 shrink-0 text-text-soft self-start',
},
variants: {
disabled: {
Expand Down

0 comments on commit 820e2c8

Please sign in to comment.