mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-23 19:05:16 +02:00
chore: ran linting
This commit is contained in:
parent
f1b3c88354
commit
d66295aedd
48 changed files with 372 additions and 443 deletions
|
|
@ -60,10 +60,7 @@ export function CalloutElement({ children, ...props }: PlateElementProps<TCallou
|
|||
}, [editor, variant, props.path]);
|
||||
|
||||
return (
|
||||
<PlateElement
|
||||
{...props}
|
||||
className={cn(calloutVariants({ variant }), props.className)}
|
||||
>
|
||||
<PlateElement {...props} className={cn(calloutVariants({ variant }), props.className)}>
|
||||
<Button
|
||||
variant="ghost"
|
||||
className="mt-0.5 h-auto shrink-0 cursor-pointer select-none p-0 text-lg leading-none hover:bg-transparent"
|
||||
|
|
|
|||
|
|
@ -84,12 +84,7 @@ export function EquationElement({ children, ...props }: PlateElementProps<TEquat
|
|||
>
|
||||
Cancel
|
||||
</Button>
|
||||
<Button
|
||||
size="sm"
|
||||
className="h-auto px-2 py-1 text-xs"
|
||||
onClick={onSubmit}
|
||||
type="button"
|
||||
>
|
||||
<Button size="sm" className="h-auto px-2 py-1 text-xs" onClick={onSubmit} type="button">
|
||||
Done
|
||||
</Button>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue