mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-09 07:42:39 +02:00
refactor: update checkbox classes in DocumentsTableShell to use 'shrink-0' for consistent styling
This commit is contained in:
parent
5c598e8588
commit
64a83f7ccc
1 changed files with 5 additions and 5 deletions
|
|
@ -498,7 +498,7 @@ export function DocumentsTableShell({
|
||||||
checked={allMentionedOnPage || (someMentionedOnPage && "indeterminate")}
|
checked={allMentionedOnPage || (someMentionedOnPage && "indeterminate")}
|
||||||
onCheckedChange={(v) => toggleAll(!!v)}
|
onCheckedChange={(v) => toggleAll(!!v)}
|
||||||
aria-label={hasChatMode ? "Toggle all for chat" : "Select all"}
|
aria-label={hasChatMode ? "Toggle all for chat" : "Select all"}
|
||||||
className="border-foreground data-[state=checked]:bg-primary data-[state=checked]:border-primary"
|
className="shrink-0"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</TableHead>
|
</TableHead>
|
||||||
|
|
@ -650,7 +650,7 @@ export function DocumentsTableShell({
|
||||||
checked={isMentioned}
|
checked={isMentioned}
|
||||||
onCheckedChange={() => handleRowToggle()}
|
onCheckedChange={() => handleRowToggle()}
|
||||||
aria-label="Remove from chat"
|
aria-label="Remove from chat"
|
||||||
className="border-foreground data-[state=checked]:bg-primary data-[state=checked]:border-primary"
|
className="shrink-0"
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
@ -664,7 +664,7 @@ export function DocumentsTableShell({
|
||||||
checked={isMentioned}
|
checked={isMentioned}
|
||||||
onCheckedChange={() => handleRowToggle()}
|
onCheckedChange={() => handleRowToggle()}
|
||||||
aria-label="Add to chat"
|
aria-label="Add to chat"
|
||||||
className="border-foreground data-[state=checked]:bg-primary data-[state=checked]:border-primary"
|
className="shrink-0"
|
||||||
/>
|
/>
|
||||||
</span>
|
</span>
|
||||||
</>
|
</>
|
||||||
|
|
@ -675,7 +675,7 @@ export function DocumentsTableShell({
|
||||||
checked={isMentioned}
|
checked={isMentioned}
|
||||||
onCheckedChange={() => handleRowToggle()}
|
onCheckedChange={() => handleRowToggle()}
|
||||||
aria-label={isMentioned ? "Remove from chat" : "Add to chat"}
|
aria-label={isMentioned ? "Remove from chat" : "Add to chat"}
|
||||||
className="border-foreground data-[state=checked]:bg-primary data-[state=checked]:border-primary"
|
className="shrink-0"
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
})()}
|
})()}
|
||||||
|
|
@ -888,7 +888,7 @@ export function DocumentsTableShell({
|
||||||
checked={isMentioned}
|
checked={isMentioned}
|
||||||
onCheckedChange={() => handleCardClick()}
|
onCheckedChange={() => handleCardClick()}
|
||||||
aria-label={isMentioned ? "Remove from chat" : "Add to chat"}
|
aria-label={isMentioned ? "Remove from chat" : "Add to chat"}
|
||||||
className="border-foreground data-[state=checked]:bg-primary data-[state=checked]:border-primary"
|
className="shrink-0"
|
||||||
/>
|
/>
|
||||||
) : (
|
) : (
|
||||||
<StatusIndicator status={doc.status} />
|
<StatusIndicator status={doc.status} />
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue