mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-27 19:25:15 +02:00
chore: ran linting
This commit is contained in:
parent
038cdb3ed3
commit
dfa0591740
3 changed files with 41 additions and 34 deletions
|
|
@ -208,7 +208,8 @@ export function RowActions({
|
||||||
<AlertDialogHeader>
|
<AlertDialogHeader>
|
||||||
<AlertDialogTitle>Delete document?</AlertDialogTitle>
|
<AlertDialogTitle>Delete document?</AlertDialogTitle>
|
||||||
<AlertDialogDescription>
|
<AlertDialogDescription>
|
||||||
This action cannot be undone. This will permanently delete this document from your search space.
|
This action cannot be undone. This will permanently delete this document from your
|
||||||
|
search space.
|
||||||
</AlertDialogDescription>
|
</AlertDialogDescription>
|
||||||
</AlertDialogHeader>
|
</AlertDialogHeader>
|
||||||
<AlertDialogFooter>
|
<AlertDialogFooter>
|
||||||
|
|
|
||||||
|
|
@ -73,10 +73,8 @@ function IntegrationCard({ integration }: { integration: Integration }) {
|
||||||
<div
|
<div
|
||||||
className="w-[60px] h-[60px] sm:w-[80px] sm:h-[80px] md:w-[120px] md:h-[120px] lg:w-[140px] lg:h-[140px] rounded-[16px] sm:rounded-[20px] md:rounded-[24px] flex items-center justify-center shrink-0 select-none"
|
className="w-[60px] h-[60px] sm:w-[80px] sm:h-[80px] md:w-[120px] md:h-[120px] lg:w-[140px] lg:h-[140px] rounded-[16px] sm:rounded-[20px] md:rounded-[24px] flex items-center justify-center shrink-0 select-none"
|
||||||
style={{
|
style={{
|
||||||
background:
|
background: "linear-gradient(145deg, var(--card-from), var(--card-to))",
|
||||||
"linear-gradient(145deg, var(--card-from), var(--card-to))",
|
boxShadow: "inset 0 1px 0 0 var(--card-highlight), 0 4px 24px var(--card-shadow)",
|
||||||
boxShadow:
|
|
||||||
"inset 0 1px 0 0 var(--card-highlight), 0 4px 24px var(--card-shadow)",
|
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Image
|
<Image
|
||||||
|
|
@ -132,7 +130,10 @@ function ScrollingColumn({
|
||||||
));
|
));
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="flex-shrink-0 overflow-hidden" style={{ ...columnMask, contain: "layout style paint" }}>
|
<div
|
||||||
|
className="flex-shrink-0 overflow-hidden"
|
||||||
|
style={{ ...columnMask, contain: "layout style paint" }}
|
||||||
|
>
|
||||||
{/* Outer div has NO gap — each inner copy uses pb matching the gap so both halves are identical in height → seamless -50% loop */}
|
{/* Outer div has NO gap — each inner copy uses pb matching the gap so both halves are identical in height → seamless -50% loop */}
|
||||||
<div
|
<div
|
||||||
className="flex flex-col"
|
className="flex flex-col"
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,12 @@ import { EnumConnectorName } from "./connector";
|
||||||
|
|
||||||
export const getConnectorIcon = (connectorType: EnumConnectorName | string, className?: string) => {
|
export const getConnectorIcon = (connectorType: EnumConnectorName | string, className?: string) => {
|
||||||
const iconProps = { className: className || "h-4 w-4" };
|
const iconProps = { className: className || "h-4 w-4" };
|
||||||
const imgProps = { className: `${className || "h-5 w-5"} select-none pointer-events-none`, width: 20, height: 20, draggable: false as const };
|
const imgProps = {
|
||||||
|
className: `${className || "h-5 w-5"} select-none pointer-events-none`,
|
||||||
|
width: 20,
|
||||||
|
height: 20,
|
||||||
|
draggable: false as const,
|
||||||
|
};
|
||||||
|
|
||||||
switch (connectorType) {
|
switch (connectorType) {
|
||||||
case EnumConnectorName.LINKUP_API:
|
case EnumConnectorName.LINKUP_API:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue