mirror of https://github.com/buster-so/buster.git
Add padding
This commit is contained in:
parent
5fc37bbde2
commit
d1d7c959e5
|
@ -12,7 +12,7 @@ const editorVariants = cva(
|
||||||
cn(
|
cn(
|
||||||
'group/editor',
|
'group/editor',
|
||||||
'relative w-full cursor-text overflow-x-visible break-words whitespace-pre-wrap select-text',
|
'relative w-full cursor-text overflow-x-visible break-words whitespace-pre-wrap select-text',
|
||||||
'rounded-md ring-offset-background focus-visible:outline-none',
|
'ring-offset-background focus-visible:outline-none',
|
||||||
'placeholder:text-muted-foreground/80 **:data-slate-placeholder:!top-1/2 **:data-slate-placeholder:-translate-y-1/2 **:data-slate-placeholder:text-muted-foreground/80 **:data-slate-placeholder:opacity-100!',
|
'placeholder:text-muted-foreground/80 **:data-slate-placeholder:!top-1/2 **:data-slate-placeholder:-translate-y-1/2 **:data-slate-placeholder:text-muted-foreground/80 **:data-slate-placeholder:opacity-100!',
|
||||||
'[&_strong]:font-bold'
|
'[&_strong]:font-bold'
|
||||||
),
|
),
|
||||||
|
@ -30,8 +30,8 @@ const editorVariants = cva(
|
||||||
variant: {
|
variant: {
|
||||||
ai: 'w-full px-0 text-base md:text-sm',
|
ai: 'w-full px-0 text-base md:text-sm',
|
||||||
comment: cn('rounded-none border-none bg-transparent text-sm'),
|
comment: cn('rounded-none border-none bg-transparent text-sm'),
|
||||||
default: 'size-full px-16 pt-4 pb-72 text-base sm:px-[max(64px,calc(50%-350px))]',
|
default: 'px-16 pt-4 pb-72 text-base sm:px-[max(64px,calc(50%-350px))]',
|
||||||
fullWidth: 'size-full px-16 pt-4 pb-72 text-base sm:px-24',
|
fullWidth: 'px-16 pt-4 pb-72 text-base sm:px-24',
|
||||||
none: ''
|
none: ''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue