Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

chore(style): kill cursor pointer (#3066)

Seamusb6b636871455
diff --git a/js/app/AGENTS.md b/js/app/AGENTS.md
index 90e3f4fc94..6f0982b118 100644
--- a/js/app/AGENTS.md
+++ b/js/app/AGENTS.md
@@ -24,6 +24,7 @@
## Styling
- Use semantic color tokens, not raw Tailwind color classes.
+- Do not add cursor-pointer to clickable elements.
## TS
- For exhaustive switch statements use `match` from `ts-pattern`.
@@ -99,4 +100,3 @@ The `import Worker from './w?worker'` import itself is harmless — only `new Wo
6. **Cross-reference the last URL request with the stuck thread.** If the last `tauri://` request was `*-worker.js?worker_file&type=module` and a worker thread is in `loadModuleSynchronously`, you've confirmed which worker is the culprit. Then trace back to where it was constructed (`new Worker(...)` or a `?worker` default export being instantiated) and make that lazy.
Don't get distracted by red herrings the logs will show: `NSKeyedArchiver` main-thread fault, IPC throttling warnings ("N pending incoming messages"), the bundle updater's failed `localhost:3001` request — all are downstream symptoms or unrelated noise.
-
diff --git a/js/app/packages/app/component/EntityModal/MoveToProjectView.tsx b/js/app/packages/app/component/EntityModal/MoveToProjectView.tsx
index cc781ab3b6..dcf6aa867c 100644
--- a/js/app/packages/app/component/EntityModal/MoveToProjectView.tsx
+++ b/js/app/packages/app/component/EntityModal/MoveToProjectView.tsx
@@ -422,7 +422,7 @@ export const MoveToProjectView = (props: {
class="w-full p-2 text-sm border border-edge bg-menu text-ink placeholder:text-ink-placeholder focus:outline-none selection:bg-ink selection:text-panel"
/>
</div>
- <div class="w-full max-h-64 h-[300px] overflow-hidden">
+ <div class="w-full max-h-64 h-75 overflow-hidden">
<Fragment ref={listRef}>
<VList data={flattenedProjects.items} class="[&>div]:overflow-clip">
{(project, index) => {
@@ -478,7 +478,7 @@ export const MoveToProjectView = (props: {
{/* Expand/collapse caret */}
<div
- class="flex items-center justify-center w-4 h-4 cursor-pointer hover:bg-edge rounded"
+ class="flex items-center justify-center w-4 h-4 hover:bg-edge rounded"
onClick={(e) => {
e.stopPropagation();
toggleExpanded(project.id);
diff --git a/js/app/packages/app/component/bulk-edit-entity/BulkMoveToProjectView.tsx b/js/app/packages/app/component/bulk-edit-entity/BulkMoveToProjectView.tsx
index 4e6081070c..8cfb3381ab 100644
--- a/js/app/packages/app/component/bulk-edit-entity/BulkMoveToProjectView.tsx
+++ b/js/app/packages/app/component/bulk-edit-entity/BulkMoveToProjectView.tsx
@@ -363,7 +363,7 @@ export const BulkMoveToProjectView = (props: {
return (
<div ref={rootScopeId}>
- <div class="shrink-0 flex flex-row items-center px-2 gap-1 border-b border-b-edge-muted h-[40px]">
+ <div class="shrink-0 flex flex-row items-center px-2 gap-1 border-b border-b-edge-muted h-10">
<Dialog.CloseButton as={Button} variant="ghost" size="icon-sm">
<CloseIcon />
</Dialog.CloseButton>
@@ -448,7 +448,7 @@ export const BulkMoveToProjectView = (props: {
return (
<div
class={cn(
- 'flex items-center px-2 py-1 cursor-pointer hover:bg-accent/10',
+ 'flex items-center px-2 py-1 hover:bg-accent/10',
isFocused() && 'focused bg-accent/20',
isSelected() && 'bg-accent/10'
)}
@@ -470,7 +470,7 @@ export const BulkMoveToProjectView = (props: {
<div
class={cn(
'mr-2 w-4 h-4 flex items-center justify-center text-xs',
- hasChildren() ? 'cursor-pointer' : 'opacity-20'
+ !hasChildren() && 'opacity-20'
)}
onClick={(e) => {
e.stopPropagation();
diff --git a/js/app/packages/app/component/import-linear/ImportLinear.tsx b/js/app/packages/app/component/import-linear/ImportLinear.tsx
index cdf10fe75a..f3b2803d2c 100644
--- a/js/app/packages/app/component/import-linear/ImportLinear.tsx
+++ b/js/app/packages/app/component/import-linear/ImportLinear.tsx
@@ -218,7 +218,7 @@ export default function ImportLinear() {
<div class="flex flex-col gap-2">
<label class="text-sm text-ink-muted">CSV file</label>
- <label class="inline-flex items-center gap-2 px-4 py-2 bg-accent text-accent-contrast font-medium rounded-md cursor-pointer hover:bg-accent-hover transition-colors w-fit">
+ <label class="inline-flex items-center gap-2 px-4 py-2 bg-accent text-accent-contrast font-medium rounded-md hover:bg-accent-hover transition-colors w-fit">
<span>Choose File</span>
<input
type="file"
diff --git a/js/app/packages/app/component/mobile/MobileSearch.tsx b/js/app/packages/app/component/mobile/MobileSearch.tsx
index 01099fb8a6..be5b4664b8 100644
--- a/js/app/packages/app/component/mobile/MobileSearch.tsx
+++ b/js/app/packages/app/component/mobile/MobileSearch.tsx
@@ -357,7 +357,7 @@ function FullTextResultItem(props: {
return (
<div
- class="px-2 py-2 text-sm font-semibold cursor-pointer"
+ class="px-2 py-2 text-sm font-semibold"
onClick={() => props.onSelect(props.entity)}
>
<div class="flex items-center gap-2 min-w-0">
diff --git a/js/app/packages/app/component/next-soup/soup-view/empty-states.tsx b/js/app/packages/app/component/next-soup/soup-view/empty-states.tsx
index fb7b039bcb..9e87415d5e 100644
--- a/js/app/packages/app/component/next-soup/soup-view/empty-states.tsx
+++ b/js/app/packages/app/component/next-soup/soup-view/empty-states.tsx
@@ -156,7 +156,7 @@ export function EmptyStateInner(props: EmptyStateInnerProps) {
handleFileUpload(files);
},
}}
- class="underline cursor-pointer"
+ class="underline"
>
Upload files
</span>{' '}
@@ -167,7 +167,7 @@ export function EmptyStateInner(props: EmptyStateInnerProps) {
await handleFolderSelect(files, handleFileUpload);
},
}}
- class="underline cursor-pointer"
+ class="underline"
>
Upload folders
</span>
diff --git a/js/app/packages/app/component/next-soup/soup-view/filters-bar/unified-filter-dropdown.tsx b/js/app/packages/app/component/next-soup/soup-view/filters-bar/unified-filter-dropdown.tsx
index 98712ec8f2..4c1832f62f 100644
--- a/js/app/packages/app/component/next-soup/soup-view/filters-bar/unified-filter-dropdown.tsx
+++ b/js/app/packages/app/component/next-soup/soup-view/filters-bar/unified-filter-dropdown.tsx
@@ -413,7 +413,7 @@ const SearchableFilterSubmenu = (props: {
<DropdownMenu.Portal>
<Layer depth={2}>
- <DropdownMenu.SubContent class="z-action-menu bg-menu border border-edge-muted rounded-sm shadow-xl w-[260px] max-w-[90vw] overflow-hidden">
+ <DropdownMenu.SubContent class="z-action-menu bg-menu border border-edge-muted rounded-sm shadow-xl w-65 max-w-[90vw] overflow-hidden">
<SearchableMultiSelectInline
options={props.options}
activeIds={props.activeIds}
@@ -444,7 +444,7 @@ function SingleValueSubmenu<T>(props: {
</DropdownMenu.SubTrigger>
<DropdownMenu.Portal>
<Layer depth={2}>
- <DropdownMenu.SubContent class="z-action-menu bg-menu border border-edge-muted rounded-sm shadow-xl min-w-[160px] p-1">
+ <DropdownMenu.SubContent class="z-action-menu bg-menu border border-edge-muted rounded-sm shadow-xl min-w-40 p-1">
<For each={props.options}>
{(option) => {
const active = () => props.current() === option.value;
@@ -646,7 +646,7 @@ const SearchIndexSubRow = (props: {
</DropdownMenu.SubTrigger>
<DropdownMenu.Portal>
<Layer depth={2}>
- <DropdownMenu.SubContent class="z-action-menu bg-menu border border-edge-muted rounded-sm shadow-xl min-w-[180px] p-1">
+ <DropdownMenu.SubContent class="z-action-menu bg-menu border border-edge-muted rounded-sm shadow-xl min-w-45 p-1">
{props.children}
</DropdownMenu.SubContent>
</Layer>
@@ -811,7 +811,7 @@ export const UnifiedFilterDropdown = () => {
<DropdownMenu.Portal>
<Layer depth={2}>
- <DropdownMenu.Content class="z-action-menu bg-menu border border-edge-muted rounded-sm shadow-xl min-w-[180px] p-1">
+ <DropdownMenu.Content class="z-action-menu bg-menu border border-edge-muted rounded-sm shadow-xl min-w-45 p-1">
<Show
when={
categories().length === 1 && !isTasksView() && !isSearchView()
@@ -828,14 +828,14 @@ export const UnifiedFilterDropdown = () => {
<DropdownMenu.Portal>
<Layer depth={2}>
- <DropdownMenu.SubContent class="z-action-menu bg-menu border border-edge-muted rounded-sm shadow-xl min-w-[160px] p-1">
+ <DropdownMenu.SubContent class="z-action-menu bg-menu border border-edge-muted rounded-sm shadow-xl min-w-40 p-1">
<For each={category.options}>
{(option) => {
const active = () =>
isOptionActive(option.id);
return (
<DropdownMenu.Item
- class="w-full flex items-center gap-2.5 px-3 py-1.5 rounded-xs text-left text-xs transition-colors hover:bg-hover outline-none data-highlighted:bg-hover cursor-pointer"
+ class="w-full flex items-center gap-2.5 px-3 py-1.5 rounded-xs text-left text-xs transition-colors hover:bg-hover outline-none data-highlighted:bg-hover"
onSelect={() => toggleFilter(option.id)}
closeOnSelect={!category.multiple}
>
@@ -961,7 +961,7 @@ export const UnifiedFilterDropdown = () => {
const active = () => isOptionActive(option.id);
return (
<DropdownMenu.Item
- class="w-full flex items-center gap-2.5 px-3 py-1.5 rounded-xs text-left text-xs transition-colors hover:bg-hover outline-none data-highlighted:bg-hover cursor-pointer"
+ class="w-full flex items-center gap-2.5 px-3 py-1.5 rounded-xs text-left text-xs transition-colors hover:bg-hover outline-none data-highlighted:bg-hover"
onSelect={() => toggleFilter(option.id)}
closeOnSelect={!categories()[0]!.multiple}
>
diff --git a/js/app/packages/app/component/settings/Account.tsx b/js/app/packages/app/component/settings/Account.tsx
index 7cffb1e19f..9a5a4a2927 100644
--- a/js/app/packages/app/component/settings/Account.tsx
+++ b/js/app/packages/app/component/settings/Account.tsx
@@ -179,7 +179,7 @@ export function Account() {
<Show when={ENABLE_PROFILE_PICTURES && userId()}>
<Row label="Profile Picture">
<div
- class="relative group cursor-pointer"
+ class="relative group"
use:fileSelector={{
acceptedFileExtensions: blockNameToFileExtensions.image,
acceptedMimeTypes: blockNameToMimeTypes.image,
diff --git a/js/app/packages/app/component/settings/Team.tsx b/js/app/packages/app/component/settings/Team.tsx
index cfa09e4194..02972864b5 100644
--- a/js/app/packages/app/component/settings/Team.tsx
+++ b/js/app/packages/app/component/settings/Team.tsx
@@ -111,7 +111,7 @@ function RoleSelect(props: {
itemComponent={(itemProps: { item: CollectionNode<RoleOption> }) => (
<Select.Item
item={itemProps.item}
- class="flex items-center justify-between gap-2 px-2 py-1.5 text-sm rounded-xs hover:bg-hover cursor-pointer outline-none data-highlighted:bg-hover"
+ class="flex items-center justify-between gap-2 px-2 py-1.5 text-sm rounded-xs hover:bg-hover outline-none data-highlighted:bg-hover"
>
<Select.ItemLabel>{itemProps.item.rawValue.label}</Select.ItemLabel>
<Select.ItemIndicator>
@@ -160,7 +160,7 @@ function TierSelect(props: {
itemComponent={(itemProps: { item: CollectionNode<TierOption> }) => (
<Select.Item
item={itemProps.item}
- class="flex items-center justify-between gap-2 px-2 py-1.5 text-sm rounded-xs hover:bg-hover cursor-pointer outline-none data-highlighted:bg-hover"
+ class="flex items-center justify-between gap-2 px-2 py-1.5 text-sm rounded-xs hover:bg-hover outline-none data-highlighted:bg-hover"
>
<div class="flex flex-col">
<Select.ItemLabel>{itemProps.item.rawValue.label}</Select.ItemLabel>
diff --git a/js/app/packages/app/index.css b/js/app/packages/app/index.css
index cbb75949fd..f2f8b3335a 100644
--- a/js/app/packages/app/index.css
+++ b/js/app/packages/app/index.css
@@ -194,6 +194,10 @@
--color-focus: var(--color-accent);
}
+/* Big hammer fix for cursor pointer. */
+@utility cursor-pointer {
+ cursor: default;
+}
@utility hide-scrollbar {
scrollbar-width: none;
diff --git a/js/app/packages/block-call/component/CallRecording/CallRecordingParticipants.tsx b/js/app/packages/block-call/component/CallRecording/CallRecordingParticipants.tsx
index 074283fa51..fffad382d8 100644
--- a/js/app/packages/block-call/component/CallRecording/CallRecordingParticipants.tsx
+++ b/js/app/packages/block-call/component/CallRecording/CallRecordingParticipants.tsx
@@ -63,7 +63,7 @@ export function CallRecordingParticipantsSection(props: {
{(participant) => (
<button
type="button"
- class="flex items-center gap-2 min-h-10 px-2 py-2 text-sm w-full border-b border-edge-muted/50 last:border-b-0 hover:bg-hover/30 text-left cursor-pointer"
+ class="flex items-center gap-2 min-h-10 px-2 py-2 text-sm w-full border-b border-edge-muted/50 last:border-b-0 hover:bg-hover/30 text-left "
onClick={() => openDirectMessage(participant.userId)}
>
<div class="shrink-0">
diff --git a/js/app/packages/block-call/component/CallRecording/CallRecordingSectionShell.tsx b/js/app/packages/block-call/component/CallRecording/CallRecordingSectionShell.tsx
index 94388f84ec..58c487d75b 100644
--- a/js/app/packages/block-call/component/CallRecording/CallRecordingSectionShell.tsx
+++ b/js/app/packages/block-call/component/CallRecording/CallRecordingSectionShell.tsx
@@ -71,7 +71,7 @@ export function CallRecordingSectionShell(props: {
<Show when={props.onToggle}>
<button
type="button"
- class="ml-auto shrink-0 rounded-xs border border-edge-muted/50 px-2 py-1 text-xs font-medium text-ink-muted cursor-pointer hover:bg-hover/30 hover:text-ink flex items-center gap-1.5 transition-colors"
+ class="ml-auto shrink-0 rounded-xs border border-edge-muted/50 px-2 py-1 text-xs font-medium text-ink-muted hover:bg-hover/30 hover:text-ink flex items-center gap-1.5 transition-colors"
aria-expanded={props.open}
aria-label={toggleLabel()}
title={toggleLabel()}
@@ -96,7 +96,7 @@ export function CallRecordingSectionShell(props: {
>
<button
type="button"
- class="isolate sticky top-0 z-10 flex w-full min-w-0 shrink-0 cursor-pointer items-center gap-2 border-b border-edge-muted/50 bg-panel px-4 py-2 text-left @[860px]:py-4 hover:bg-hover/20 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent/40 focus-visible:ring-offset-0"
+ class="isolate sticky top-0 z-10 flex w-full min-w-0 shrink-0 items-center gap-2 border-b border-edge-muted/50 bg-panel px-4 py-2 text-left @[860px]:py-4 hover:bg-hover/20 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent/40 focus-visible:ring-offset-0"
aria-expanded={props.open}
aria-label={toggleLabel()}
title={toggleLabel()}
@@ -127,7 +127,7 @@ export function CallRecordingSectionShell(props: {
: cn(
'transition-[max-height,transform,opacity] duration-300 ease-out @[860px]:transition-none @[860px]:max-h-none @[860px]:opacity-100 @[860px]:translate-y-0',
isOpen()
- ? 'flex min-h-0 flex-1 flex-col max-h-[100dvh] translate-y-0 opacity-100 @[860px]:h-full @[860px]:max-h-none'
+ ? 'flex min-h-0 flex-1 flex-col max-h-dvh translate-y-0 opacity-100 @[860px]:h-full @[860px]:max-h-none'
: 'max-h-0 translate-y-2 opacity-0 pointer-events-none'
)
)}
diff --git a/js/app/packages/block-call/component/CallRecording/call-recording-utils.ts b/js/app/packages/block-call/component/CallRecording/call-recording-utils.ts
index 387d3a98f3..aa4d79f4e9 100644
--- a/js/app/packages/block-call/component/CallRecording/call-recording-utils.ts
+++ b/js/app/packages/block-call/component/CallRecording/call-recording-utils.ts
@@ -56,4 +56,4 @@ export const CALL_META_STRIP_TOGGLE_ACTIVE =
'inline-flex items-center justify-center font-medium focus-visible:outline-none data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50 bg-ink text-page not-disabled:hover:bg-ink/90 not-disabled:active:bg-ink/80 py-1 text-xs gap-1 rounded-xs [&_svg]:size-4 px-1 border border-transparent';
export const CALL_META_STRIP_TOGGLE_IDLE =
- 'flex shrink-0 items-center gap-1.5 rounded-xs border border-edge-muted/50 px-2 py-1.5 text-xs font-medium text-ink-muted cursor-pointer transition-colors hover:bg-hover/30 hover:text-ink focus-visible:outline-none';
+ 'flex shrink-0 items-center gap-1.5 rounded-xs border border-edge-muted/50 px-2 py-1.5 text-xs font-medium text-ink-muted transition-colors hover:bg-hover/30 hover:text-ink focus-visible:outline-none';
diff --git a/js/app/packages/block-call/component/CallTranscript.tsx b/js/app/packages/block-call/component/CallTranscript.tsx
index 5e9b0c7b02..69b1ab4e60 100644
--- a/js/app/packages/block-call/component/CallTranscript.tsx
+++ b/js/app/packages/block-call/component/CallTranscript.tsx
@@ -71,7 +71,6 @@ function TranscriptSegmentRow(props: {
message={message}
highlighted={props.isActive}
selected={props.isActive}
- class="cursor-pointer"
onClick={() => {
if (videoTimestamp !== null) props.onSeekToSeconds?.(videoTimestamp);
}}
@@ -123,7 +122,6 @@ function GroupedTranscriptSegmentRow(props: {
message={message}
highlighted={props.isActive}
selected={props.isActive}
- class="cursor-pointer"
onClick={() => {
if (videoTimestamp !== null) props.onSeekToSeconds?.(videoTimestamp);
}}
@@ -382,7 +380,7 @@ export function CallTranscript(props: {
>
<button
type="button"
- class="pointer-events-auto isolate overflow-hidden relative bg-panel border border-accent/30 flex h-8 px-2 items-center justify-center text-xs font-mono uppercase font-medium leading-5 whitespace-nowrap cursor-pointer text-accent before:absolute before:inset-0 before:bg-accent/10 hover:before:bg-accent/20 before:content-[''] before:transition-colors"
+ class="pointer-events-auto isolate overflow-hidden relative bg-panel border border-accent/30 flex h-8 px-2 items-center justify-center text-xs font-mono uppercase font-medium leading-5 whitespace-nowrap text-accent before:absolute before:inset-0 before:bg-accent/10 hover:before:bg-accent/20 before:content-[''] before:transition-colors"
onClick={() => {
setSyncToVideoTime(true);
scrollActiveIntoView('smooth');
diff --git a/js/app/packages/block-email/component/BaseInput.tsx b/js/app/packages/block-email/component/BaseInput.tsx
index 626aa4608a..79f9da4302 100644
--- a/js/app/packages/block-email/component/BaseInput.tsx
+++ b/js/app/packages/block-email/component/BaseInput.tsx
@@ -311,7 +311,7 @@ function TruncatedRecipientList(props: {
return (
<div
use:observedSize={{ setSize: setContainerRect }}
- class="flex items-center text-sm overflow-hidden whitespace-nowrap mt-1 min-w-0 flex-1 cursor-pointer"
+ class="flex items-center text-sm overflow-hidden whitespace-nowrap mt-1 min-w-0 flex-1"
onclick={props.onClick}
>
{/* Hidden measurement element - must have same font styles */}
diff --git a/js/app/packages/block-email/component/CollapsedMessage.tsx b/js/app/packages/block-email/component/CollapsedMessage.tsx
index 69fdf0aa64..e1d4d745ff 100644
--- a/js/app/packages/block-email/component/CollapsedMessage.tsx
+++ b/js/app/packages/block-email/component/CollapsedMessage.tsx
@@ -56,7 +56,7 @@ export function CollapsedMessage(props: CollapsedMessageProps) {
{/* These pl/pr below are needed to align with expanded messages at mobile width. */}
<div class="macro-message-width macro-message-margin w-full pl-2 pr-4 sm:px-0">
<div
- class="relative flex flex-row items-center w-full pb-2 cursor-pointer transition-all"
+ class="relative flex flex-row items-center w-full pb-2 transition-all"
classList={{
'pt-2': !props.isFirstMessage,
'opacity-80': hasMouseLeft() && !hover(),
diff --git a/js/app/packages/block-md/component/TableInsert.tsx b/js/app/packages/block-md/component/TableInsert.tsx
index 8d062cd18a..aa1d563bfb 100644
--- a/js/app/packages/block-md/component/TableInsert.tsx
+++ b/js/app/packages/block-md/component/TableInsert.tsx
@@ -68,7 +68,7 @@ const TableGrid = ({
return (
<div
- class="w-4 h-4 border border-edge cursor-pointer transition-colors duration-100"
+ class="w-4 h-4 border border-edge transition-colors duration-100"
classList={{
'bg-hover': isHighlighted(),
}}
diff --git a/js/app/packages/channel/Attachments/AttachmentEntityRow.tsx b/js/app/packages/channel/Attachments/AttachmentEntityRow.tsx
index 7b3abadff3..6821f38b51 100644
--- a/js/app/packages/channel/Attachments/AttachmentEntityRow.tsx
+++ b/js/app/packages/channel/Attachments/AttachmentEntityRow.tsx
@@ -13,7 +13,7 @@ export function AttachmentEntityRow(props: {
<Entity.Root
entity={props.entity}
onClick={() => props.onClick?.()}
- class="flex items-center gap-2 min-h-10 px-2 text-sm hover:bg-hover/30 cursor-pointer w-full"
+ class="flex items-center gap-2 min-h-10 px-2 text-sm hover:bg-hover/30 w-full"
>
<div class="size-4 shrink-0">
<Entity.Icon entity={props.entity} />
diff --git a/js/app/packages/channel/Call/CallControls/CallControlButton.tsx b/js/app/packages/channel/Call/CallControls/CallControlButton.tsx
index 0c77da6adb..df4339f1f2 100644
--- a/js/app/packages/channel/Call/CallControls/CallControlButton.tsx
+++ b/js/app/packages/channel/Call/CallControls/CallControlButton.tsx
@@ -12,7 +12,7 @@ export type CallControlButtonSize = 'sm' | 'md';
export type CallControlButtonVariant = 'default' | 'active' | 'danger';
export const callControlButtonStyles = {
- base: 'flex items-center justify-center cursor-pointer outline outline-transarent bg-transparent transition-colors',
+ base: 'flex items-center justify-center outline outline-transarent bg-transparent transition-colors',
size: {
sm: 'w-6 h-6 rounded-md',
diff --git a/js/app/packages/channel/Call/CallControls/CallControlsPanelSmallRow.tsx b/js/app/packages/channel/Call/CallControls/CallControlsPanelSmallRow.tsx
index 0565cbc776..771d6c21c3 100644
--- a/js/app/packages/channel/Call/CallControls/CallControlsPanelSmallRow.tsx
+++ b/js/app/packages/channel/Call/CallControls/CallControlsPanelSmallRow.tsx
@@ -15,10 +15,7 @@ import { cn } from '@ui/utils/classname';
import { useCallContext } from '../CallContext';
const menuStyles = {
- item: cn(
- MENU_ITEM_CLASS,
- 'cursor-pointer hover:bg-hover hover-transition-bg'
- ),
+ item: cn(MENU_ITEM_CLASS, 'hover:bg-hover hover-transition-bg'),
groupLabel: cn(MENU_ITEM_CLASS, 'text-xs text-accent'),
};
@@ -67,7 +64,7 @@ export function CallControlsPanelSmallRow(
callCtx.isScreenSharing())
? 'text-accent-2'
: 'text-ink',
- !isConnecting() && 'hover:bg-ink/5 cursor-pointer'
+ !isConnecting() && 'hover:bg-ink/5'
)}
aria-label="Call options"
>
@@ -258,7 +255,7 @@ export function CallControlsPanelSmallRow(
<DropdownMenu.Item
class={cn(
MENU_ITEM_CLASS,
- 'cursor-pointer text-failure hover:bg-failure/10 hover-transition-bg'
+ 'text-failure hover:bg-failure/10 hover-transition-bg'
)}
onSelect={() => void props.onLeave()}
>
diff --git a/js/app/packages/channel/Call/CallDeviceList.tsx b/js/app/packages/channel/Call/CallDeviceList.tsx
index c39eac8c8d..71053bd17f 100644
--- a/js/app/packages/channel/Call/CallDeviceList.tsx
+++ b/js/app/packages/channel/Call/CallDeviceList.tsx
@@ -6,7 +6,7 @@ import type { MediaDeviceInfo } from './CallContext';
import { cn } from '@ui/utils/classname';
const deviceRadioRowClass =
- 'flex min-w-0 items-center gap-2 w-full py-1 pl-2 pr-2 text-sm font-medium rounded-xs cursor-pointer hover:bg-hover hover-transition-bg outline-none focus:bg-active data-[highlighted]:bg-active';
+ 'flex min-w-0 items-center gap-2 w-full py-1 pl-2 pr-2 text-sm font-medium rounded-xs hover:bg-hover hover-transition-bg outline-none focus:bg-active data-[highlighted]:bg-active';
/** Device picker rows for use inside `DropdownMenu` + `DropdownMenuContent` only. */
export function CallDeviceList(props: {
diff --git a/js/app/packages/channel/Call/InCallPanel/InCallPanelView.tsx b/js/app/packages/channel/Call/InCallPanel/InCallPanelView.tsx
index f5e00c1780..16b25f0e08 100644
--- a/js/app/packages/channel/Call/InCallPanel/InCallPanelView.tsx
+++ b/js/app/packages/channel/Call/InCallPanel/InCallPanelView.tsx
@@ -124,7 +124,7 @@ export const InCallPanel: Component<InCallPanelProps> = (props) => {
<button
type="button"
class={cn(
- 'shrink-0 transition-colors cursor-pointer hover:bg-accent/30 outline-0 outline-accent/50 hover:outline-1 hover-transition-outline focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-edge-muted',
+ 'shrink-0 transition-colors hover:bg-accent/30 outline-0 outline-accent/50 hover:outline-1 hover-transition-outline focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-edge-muted',
slim() && 'animate-pulse hover:outline-0'
)}
title="Open full call view"
diff --git a/js/app/packages/channel/Call/InCallPanel/InCallParticipantsListPopover.tsx b/js/app/packages/channel/Call/InCallPanel/InCallParticipantsListPopover.tsx
index 76a5c8ab14..9abb167678 100644
--- a/js/app/packages/channel/Call/InCallPanel/InCallParticipantsListPopover.tsx
+++ b/js/app/packages/channel/Call/InCallPanel/InCallParticipantsListPopover.tsx
@@ -102,7 +102,7 @@ export function InCallParticipantNameRow(props: {
}
class={cn(
'flex min-w-0 items-center gap-2 rounded-xs px-1 py-1',
- isInteractive() ? 'cursor-pointer hover:bg-hover' : 'cursor-default'
+ isInteractive() ? 'hover:bg-hover' : 'cursor-default'
)}
>
<InCallParticipantAvatar
@@ -149,7 +149,7 @@ export function InCallParticipantsListPopover(
as="button"
type="button"
class={cn(
- 'inline-flex items-center justify-center rounded-full bg-transparent p-0 transition-colors hover:bg-accent/15 cursor-pointer text-accent',
+ 'inline-flex items-center justify-center rounded-full bg-transparent p-0 transition-colors hover:bg-accent/15 text-accent',
props.class
)}
aria-haspopup="dialog"
diff --git a/js/app/packages/channel/Media/MediaGrid.tsx b/js/app/packages/channel/Media/MediaGrid.tsx
index 569a2d2471..58060ed1a4 100644
--- a/js/app/packages/channel/Media/MediaGrid.tsx
+++ b/js/app/packages/channel/Media/MediaGrid.tsx
@@ -80,20 +80,20 @@ function MessageVideoTile(props: { item: MediaItem; onOpen: () => void }) {
const videoHeight = () => props.item.height ?? undefined;
return (
- <div class="group relative flex min-h-20 max-h-[480px] max-w-[480px] min-w-0 overflow-hidden rounded-2xl border border-edge bg-menu">
+ <div class="group relative flex min-h-20 max-h-120 max-w-120 min-w-0 overflow-hidden rounded-2xl border border-edge bg-menu">
<Show
when={isInlinePlaying()}
fallback={
<>
<button
type="button"
- class="block max-w-full cursor-pointer"
+ class="block max-w-full"
onClick={props.onOpen}
aria-label="Open video viewer"
>
<MediaVideo.Preview
src={props.item.src}
- class="block max-h-[480px] max-w-full"
+ class="block max-h-120 max-w-full"
width={videoWidth()}
height={videoHeight()}
/>
@@ -113,7 +113,7 @@ function MessageVideoTile(props: { item: MediaItem; onOpen: () => void }) {
}
>
<video
- class="block max-h-[480px] max-w-full"
+ class="block max-h-120 max-w-full"
controls
autoplay
playsinline
diff --git a/js/app/packages/channel/Media/MediaImage.tsx b/js/app/packages/channel/Media/MediaImage.tsx
index 3832692c06..5e4ca9d13a 100644
--- a/js/app/packages/channel/Media/MediaImage.tsx
+++ b/js/app/packages/channel/Media/MediaImage.tsx
@@ -85,7 +85,7 @@ function Image(props: {
<Show when={props.previewSrc} fallback={props.fallback}>
{(previewSrc) => (
<img
- class={cn(props.class, props.onOpen && 'cursor-pointer')}
+ class={cn(props.class)}
src={previewSrc()}
alt="preview"
width={props.width}
@@ -98,7 +98,7 @@ function Image(props: {
</Show>
</Show>
<img
- class={cn(props.class, props.onOpen && 'cursor-pointer')}
+ class={cn(props.class)}
classList={{ invisible: !loaded(), absolute: !loaded() }}
src={props.src}
alt="preview"
diff --git a/js/app/packages/channel/Media/MediaVideo.tsx b/js/app/packages/channel/Media/MediaVideo.tsx
index a80bb188dd..75ad6fcd94 100644
--- a/js/app/packages/channel/Media/MediaVideo.tsx
+++ b/js/app/packages/channel/Media/MediaVideo.tsx
@@ -41,8 +41,7 @@ function PlayOverlay(props: { onOpen?: () => void; class?: string }) {
<div
class={cn(
'absolute inset-0 flex items-center justify-center bg-ink/20',
- props.onOpen &&
- 'cursor-pointer transition-colors group-hover:bg-ink/30',
+ props.onOpen && 'transition-colors group-hover:bg-ink/30',
props.class
)}
onClick={() => props.onOpen?.()}
diff --git a/js/app/packages/channel/Participants/ParticipantsListItem.tsx b/js/app/packages/channel/Participants/ParticipantsListItem.tsx
index c75218da83..402350cf80 100644
--- a/js/app/packages/channel/Participants/ParticipantsListItem.tsx
+++ b/js/app/packages/channel/Participants/ParticipantsListItem.tsx
@@ -28,7 +28,7 @@ export function ParticipantsListItem(props: {
<button
{...navigationHandlers}
type="button"
- class="flex min-w-0 flex-1 items-center gap-2 rounded-xs px-2 py-1 text-left cursor-pointer focus:outline-none"
+ class="flex min-w-0 flex-1 items-center gap-2 rounded-xs px-2 py-1 text-left focus:outline-none"
>
<div class="shrink-0">
<UserIcon
diff --git a/js/app/packages/channel/StandaloneThread/ReadonlyThread.tsx b/js/app/packages/channel/StandaloneThread/ReadonlyThread.tsx
index bac93a7e07..3c5eda9449 100644
--- a/js/app/packages/channel/StandaloneThread/ReadonlyThread.tsx
+++ b/js/app/packages/channel/StandaloneThread/ReadonlyThread.tsx
@@ -17,15 +17,11 @@ export function ReadonlyThread(props: ReadonlyThreadProps) {
>
<StandaloneThread.ParentMessage
onClickMessage={props.onClickMessage}
- class={
- props.onClickMessage ? 'cursor-pointer hover:bg-hover' : undefined
- }
+ class={props.onClickMessage ? 'hover:bg-hover' : undefined}
/>
<StandaloneThread.Replies
onClickMessage={props.onClickMessage}
- class={
- props.onClickMessage ? 'cursor-pointer hover:bg-hover' : undefined
- }
+ class={props.onClickMessage ? 'hover:bg-hover' : undefined}
/>
</StandaloneThread.Root>
);
diff --git a/js/app/packages/core/component/AI/component/InlineAi.tsx b/js/app/packages/core/component/AI/component/InlineAi.tsx
index f8b57f1f30..5b394abc06 100644
--- a/js/app/packages/core/component/AI/component/InlineAi.tsx
+++ b/js/app/packages/core/component/AI/component/InlineAi.tsx
@@ -120,7 +120,7 @@ export function InlineInputLoading(props: InlineInputLoadingProps) {
return (
<div class="relative flex items-end justify-between p-2 ring-1 ring-edge rounded-xs w-full bg-hover">
<textarea
- class="flex resize-none rounded-md w-full p-1 text-sm h-max-[800px] overflow-hidden select-none cursor-pointer"
+ class="flex resize-none rounded-md w-full p-1 text-sm h-max-[800px] overflow-hidden select-none"
disabled
rows={props?.options?.defaultLines ?? 1}
placeholder={props?.options?.placeholderText ?? defaultPlaceholder}
@@ -139,7 +139,7 @@ export function InlineInputDisabled(props: InlineInputLoadingProps) {
return (
<div class="relative flex items-end justify-between p-2 ring-1 ring-edge rounded-xs w-full bg-hover">
<textarea
- class="flex resize-none rounded-md w-full p-1 text-sm h-max-[800px] overflow-hidden select-none cursor-pointer"
+ class="flex resize-none rounded-md w-full p-1 text-sm h-max-[800px] overflow-hidden select-none"
disabled
rows={props?.options?.defaultLines ?? 1}
placeholder={props?.options?.placeholderText ?? defaultPlaceholder}
diff --git a/js/app/packages/core/component/AI/component/tool/TextEditorCodeExecution.tsx b/js/app/packages/core/component/AI/component/tool/TextEditorCodeExecution.tsx
index 89861248ac..99ce599e94 100644
--- a/js/app/packages/core/component/AI/component/tool/TextEditorCodeExecution.tsx
+++ b/js/app/packages/core/component/AI/component/tool/TextEditorCodeExecution.tsx
@@ -93,7 +93,7 @@ function CreateResult(props: {
{(file) => (
<button
type="button"
- class="inline-flex items-center gap-1 px-1.5 py-0.5 rounded hover:bg-hover transition-colors cursor-pointer"
+ class="inline-flex items-center gap-1 px-1.5 py-0.5 rounded hover:bg-hover transition-colors"
onClick={handleClick}
>
<EntityIcon size="xs" targetType={asFileType(file().extension)} />
diff --git a/js/app/packages/core/component/CustomScrollbar.tsx b/js/app/packages/core/component/CustomScrollbar.tsx
index 377323c1b7..9c1b5f75d8 100644
--- a/js/app/packages/core/component/CustomScrollbar.tsx
+++ b/js/app/packages/core/component/CustomScrollbar.tsx
@@ -223,7 +223,7 @@ function InnerCustomScrollbar(props: CustomScrollbarProps) {
>
{/* Track */}
<div
- class="absolute inset-0 cursor-pointer bg-transparent"
+ class="absolute inset-0 bg-transparent"
onClick={handleTrackClick}
/>
{/* Thumb */}
diff --git a/js/app/packages/core/component/FormControls/ActionSequence.tsx b/js/app/packages/core/component/FormControls/ActionSequence.tsx
index e5d56e4789..500a0b6a4a 100644
--- a/js/app/packages/core/component/FormControls/ActionSequence.tsx
+++ b/js/app/packages/core/component/FormControls/ActionSequence.tsx
@@ -98,7 +98,7 @@ function Step(props: ButtonProps) {
return (
<button
type="button"
- class="cursor-pointer relative flex items-stretch bg-accent text-dialog font-mono border-2 border-accent font-medium uppercase leading-none translate-y-[2px] transition py-1 px-2 disabled:cursor-not-allowed"
+ class="relative flex items-stretch bg-accent text-dialog font-mono border-2 border-accent font-medium uppercase leading-none translate-y-[2px] transition py-1 px-2 disabled:cursor-not-allowed"
disabled={props.disabled || props.completed}
onClick={props.onClick}
classList={{
diff --git a/js/app/packages/core/component/LexicalMarkdown/component/debug/MarkdownParseTestPage.tsx b/js/app/packages/core/component/LexicalMarkdown/component/debug/MarkdownParseTestPage.tsx
index bfa60cdaa4..ea20bddc3b 100644
--- a/js/app/packages/core/component/LexicalMarkdown/component/debug/MarkdownParseTestPage.tsx
+++ b/js/app/packages/core/component/LexicalMarkdown/component/debug/MarkdownParseTestPage.tsx
@@ -427,7 +427,7 @@ export default function MarkdownParseTestPage() {
<Show when={outputType() === 'static'}>
<div class="flex items-center gap-2 mb-4">
- <label class="flex items-center gap-2 cursor-pointer">
+ <label class="flex items-center gap-2">
<input
type="checkbox"
checked={singleLine()}
diff --git a/js/app/packages/core/component/LexicalMarkdown/styles.css b/js/app/packages/core/component/LexicalMarkdown/styles.css
index 7db1652350..e01d3f2c24 100644
--- a/js/app/packages/core/component/LexicalMarkdown/styles.css
+++ b/js/app/packages/core/component/LexicalMarkdown/styles.css
@@ -401,7 +401,6 @@ ref: https://bugzilla.mozilla.org/show_bug.cgi?id=1904159
height: 100%;
animation: table-controls 0.2s ease;
border: 0;
- cursor: var(--cursor-pointer);
}
.md-table-add-columns:after {
@@ -428,7 +427,6 @@ ref: https://bugzilla.mozilla.org/show_bug.cgi?id=1904159
width: calc(100% - 25px);
animation: table-controls 0.2s ease;
border: 0;
- cursor: var(--cursor-pointer);
}
.md-table-add-columns:after {
@@ -481,7 +479,6 @@ ref: https://bugzilla.mozilla.org/show_bug.cgi?id=1904159
width: 20px;
height: 20px;
color: var(--color-ink-muted);
- cursor: var(--cursor-pointer);
background-color: transparent;
}
@@ -490,7 +487,6 @@ ref: https://bugzilla.mozilla.org/show_bug.cgi?id=1904159
}
.md-editor-equation {
- cursor: var(--cursor-pointer);
user-select: none;
}
diff --git a/js/app/packages/core/component/RecipientSelector.tsx b/js/app/packages/core/component/RecipientSelector.tsx
index 43f8c945c8..2ff07bf803 100644
--- a/js/app/packages/core/component/RecipientSelector.tsx
+++ b/js/app/packages/core/component/RecipientSelector.tsx
@@ -63,7 +63,7 @@ function RecipientChip(props: {
<Show when={props.icon}>{props.icon}</Show>
<p class="text-sm whitespace-nowrap">{truncateString(props.label, 20)}</p>
<XIcon
- class="w-5 h-5 cursor-pointer hover:bg-hover hover-transition-bg p-1"
+ class="w-5 h-5 hover:bg-hover hover-transition-bg p-1"
onClick={props.onRemove}
/>
</div>
diff --git a/js/app/packages/core/component/Slider.tsx b/js/app/packages/core/component/Slider.tsx
index d9241e4e02..1d97ca723e 100644
--- a/js/app/packages/core/component/Slider.tsx
+++ b/js/app/packages/core/component/Slider.tsx
@@ -115,7 +115,7 @@ export function DebugSlider(props: SliderProps) {
<div class="w-full shrink">
<div
ref={sliderRef}
- class="relative h-6 bg-message cursor-pointer select-none w-full focus:ring focus:ring-edge"
+ class="relative h-6 bg-message select-none w-full focus:ring focus:ring-edge"
onMouseDown={handleSliderMouseDown}
onKeyDown={handleKeyDown}
tabIndex={0}
diff --git a/js/app/packages/core/component/TopBar/ShareButton.tsx b/js/app/packages/core/component/TopBar/ShareButton.tsx
index 5ef8f50822..af3b9676f6 100644
--- a/js/app/packages/core/component/TopBar/ShareButton.tsx
+++ b/js/app/packages/core/component/TopBar/ShareButton.tsx
@@ -405,7 +405,7 @@ function MobileShareDrawer(props: MobileShareDrawerProps) {
{(recipient) => (
<div class="flex justify-between">
<div
- class="flex items-center gap-2 overflow-hidden cursor-pointer"
+ class="flex items-center gap-2 overflow-hidden"
onClick={() =>
props.navigateToChannel(recipient.channel_id)
}
@@ -1035,7 +1035,7 @@ export function ShareModal(props: ShareModalProps) {
{(recipient) => (
<div class="flex justify-between">
<div
- class="flex items-center gap-2 overflow-hidden cursor-pointer"
+ class="flex items-center gap-2 overflow-hidden"
onClick={() =>
navigateToChannel(recipient.channel_id)
}
@@ -1452,7 +1452,7 @@ export function ShareOptions(props: {
return (
<DropdownMenu.RadioItem
value={option.value}
- class="flex items-center gap-2 w-full py-1 pl-2 pr-2 text-sm font-medium rounded-xs cursor-pointer hover:bg-hover hover-transition-bg outline-none focus:bg-active data-[highlighted]:bg-active"
+ class="flex items-center gap-2 w-full py-1 pl-2 pr-2 text-sm font-medium rounded-xs hover:bg-hover hover-transition-bg outline-none focus:bg-active data-[highlighted]:bg-active"
>
<div class="w-4 h-4 shrink-0">
{Icon && <Icon class="w-full h-full" />}
@@ -1469,7 +1469,7 @@ export function ShareOptions(props: {
<div class="my-1 border-t border-edge-muted w-full" />
<DropdownMenu.RadioItem
value="none"
- class="flex items-center gap-2 w-full py-1 pl-2 pr-2 text-sm font-medium rounded-xs cursor-pointer hover:bg-hover hover-transition-bg outline-none focus:bg-active data-[highlighted]:bg-active"
+ class="flex items-center gap-2 w-full py-1 pl-2 pr-2 text-sm font-medium rounded-xs hover:bg-hover hover-transition-bg outline-none focus:bg-active data-[highlighted]:bg-active"
>
<div class="w-4 h-4 shrink-0">
<IconX class="w-full h-full" />
diff --git a/js/app/packages/core/internal/DataDebug.tsx b/js/app/packages/core/internal/DataDebug.tsx
index 0b441f48bb..b719f68fc2 100644
--- a/js/app/packages/core/internal/DataDebug.tsx
+++ b/js/app/packages/core/internal/DataDebug.tsx
@@ -50,7 +50,7 @@ function SignalDebugCard(props: SignalDebugCardProps) {
</div>
<div class="border-t border-edge mt-3 pt-3">
<details>
- <summary class="cursor-pointer text-accent text-sm">Raw JSON</summary>
+ <summary class="text-accent text-sm">Raw JSON</summary>
<div class="mt-2 relative">
<button
onClick={copyToClipboard}
diff --git a/js/app/packages/core/internal/IconGallery.tsx b/js/app/packages/core/internal/IconGallery.tsx
index fe3a3f7806..82850eb7d4 100644
--- a/js/app/packages/core/internal/IconGallery.tsx
+++ b/js/app/packages/core/internal/IconGallery.tsx
@@ -255,7 +255,7 @@ export default function IconGallery() {
{(color) => (
<button
onClick={() => setSelectedColor(color)}
- class="h-2.5 w-2.5 cursor-pointer rounded-[1px] transition-transform hover:scale-125"
+ class="h-2.5 w-2.5 rounded-[1px] transition-transform hover:scale-125"
classList={{
'ring-1 ring-ink ring-offset-1':
selectedColor().value === color.value,
@@ -268,9 +268,9 @@ export default function IconGallery() {
</div>
{/* Custom color option */}
<div class="mt-1.5 flex items-center gap-1.5">
- <span class="text-[10px] text-muted">Custom</span>
+ <span class="text-xxs text-muted">Custom</span>
<label
- class="relative h-2.5 w-2.5 cursor-pointer rounded-[1px] transition-transform hover:scale-125"
+ class="relative h-2.5 w-2.5 rounded-[1px] transition-transform hover:scale-125"
classList={{
'ring-1 ring-ink ring-offset-1':
selectedColor().value === 'custom',
@@ -293,7 +293,7 @@ export default function IconGallery() {
css: e.currentTarget.value,
});
}}
- class="absolute inset-0 cursor-pointer opacity-0"
+ class="absolute inset-0 opacity-0"
/>
</label>
</div>
@@ -311,11 +311,11 @@ export default function IconGallery() {
onInput={(e) => setIconSize(Number(e.currentTarget.value))}
class="icon-gallery-slider w-24"
/>
- <span class="w-8 text-[10px] text-muted">{iconSize()}px</span>
+ <span class="w-8 text-xxs text-muted">{iconSize()}px</span>
</label>
<button
onClick={triggerAllAnimations}
- class="cursor-pointer border border-ink bg-transparent px-2 py-1 text-[10px] text-ink hover:opacity-70"
+ class="border border-ink bg-transparent px-2 py-1 text-xxs text-ink hover:opacity-70"
>
Trigger All Animations
</button>
@@ -331,7 +331,7 @@ export default function IconGallery() {
<For each={ICON_PAIRS}>
{(pair) => (
<div class="inline-flex flex-col items-center rounded-[1px] border border-edge-muted p-2">
- <p class="mb-2 text-[10px] text-ink">{pair.name}</p>
+ <p class="mb-2 text-xxs text-ink">{pair.name}</p>
<div class="flex items-center justify-center gap-3">
{/* Static version */}
<div class="flex flex-col items-center">
@@ -350,7 +350,7 @@ export default function IconGallery() {
{/* Animated version */}
<div class="flex flex-col items-center">
<div
- class="flex cursor-pointer items-center justify-center"
+ class="flex items-center justify-center"
style={{
color: getColorStyle(),
width: `${iconSize()}px`,
@@ -378,7 +378,7 @@ export default function IconGallery() {
<span class="text-[8px] text-muted">animated</span>
<button
onClick={() => triggerAnimation(pair.name)}
- class="flex h-2.5 w-2.5 cursor-pointer items-center justify-center rounded-full border border-current text-muted transition-colors hover:bg-ink/10 hover:text-ink"
+ class="flex h-2.5 w-2.5 items-center justify-center rounded-full border border-current text-muted transition-colors hover:bg-ink/10 hover:text-ink"
title="Play animation"
>
<svg
@@ -435,7 +435,7 @@ export default function IconGallery() {
onInput={(e) => setArcanumSize(Number(e.currentTarget.value))}
class="icon-gallery-slider w-24"
/>
- <span class="w-8 text-[10px] text-muted">{arcanumSize()}px</span>
+ <span class="w-8 text-xxs text-muted">{arcanumSize()}px</span>
</label>
<span class="h-px flex-1 bg-edge-muted" />
</div>
diff --git a/js/app/packages/core/internal/PixelArtIconDemo.tsx b/js/app/packages/core/internal/PixelArtIconDemo.tsx
index 1cafa07939..1a61243c9a 100644
--- a/js/app/packages/core/internal/PixelArtIconDemo.tsx
+++ b/js/app/packages/core/internal/PixelArtIconDemo.tsx
@@ -288,7 +288,7 @@ function EditableLabel(props: EditableLabelProps) {
fallback={
<div
onClick={handleStartEdit}
- class="cursor-pointer hover:bg-edge px-1 py-0.5 w-full h-full flex items-center"
+ class="hover:bg-edge px-1 py-0.5 w-full h-full flex items-center"
style="min-height: 20px;"
>
{props.value}
@@ -858,7 +858,7 @@ function GlyphEditor(props: GlyphEditorProps) {
: 'transparent'
}
stroke="transparent"
- class="cursor-pointer hover:stroke-current hover:stroke-1 hover:opacity-50"
+ class="hover:stroke-current hover:stroke-1 hover:opacity-50"
onMouseDown={() => handleMouseDown(row(), col())}
onMouseEnter={() =>
handleMouseEnter(row(), col())
@@ -1037,7 +1037,7 @@ function GlyphSidebar(props: GlyphSidebarProps) {
});
return (
- <div class="w-[400px] bg-panel p-4 overflow-y-auto border-l border-edge border-dashed shrink-0">
+ <div class="w-100 bg-panel p-4 overflow-y-auto border-l border-edge border-dashed shrink-0">
<div class="space-y-4">
<h3 class="font-mono text-sm text-ink">[ Global Settings ]</h3>
diff --git a/js/app/packages/entity/src/extractors-notification/notification-content.tsx b/js/app/packages/entity/src/extractors-notification/notification-content.tsx
index bccdc7d036..e74b506e92 100644
--- a/js/app/packages/entity/src/extractors-notification/notification-content.tsx
+++ b/js/app/packages/entity/src/extractors-notification/notification-content.tsx
@@ -50,7 +50,7 @@ function DocumentMentionPill(props: { notification: UnifiedNotification }) {
return (
<div
- class="group relative flex items-center gap-1.5 px-2 py-1 rounded border border-edge-muted bg-panel hover:bg-hover cursor-pointer text-xs min-w-0 max-w-48 shrink-0"
+ class="group relative flex items-center gap-1.5 px-2 py-1 rounded border border-edge-muted bg-panel hover:bg-hover text-xs min-w-0 max-w-48 shrink-0"
onClick={handleClick}
role="button"
tabIndex={0}
diff --git a/js/app/packages/notifications/components/Playground.tsx b/js/app/packages/notifications/components/Playground.tsx
index a546334c5c..0981a5eeb0 100644
--- a/js/app/packages/notifications/components/Playground.tsx
+++ b/js/app/packages/notifications/components/Playground.tsx
@@ -213,7 +213,7 @@ function BrowserFormat(props: { notification: UnifiedNotification }) {
</div>
<details class="group">
- <summary class="text-xs font-mono text-ink-muted uppercase cursor-pointer hover:text-accent">
+ <summary class="text-xs font-mono text-ink-muted uppercase hover:text-accent">
Raw JSON ▸
</summary>
<pre class="bg-menu p-4 rounded-lg border border-edge-muted text-xs overflow-auto mt-2">
@@ -431,7 +431,7 @@ function NotificationDetail(props: {
<section>
<details class="group">
- <summary class="text-lg font-semibold text-ink mb-4 cursor-pointer hover:text-accent">
+ <summary class="text-lg font-semibold text-ink mb-4 hover:text-accent">
Raw Notification Data ▸
</summary>
<pre class="bg-menu p-6 rounded-xl border border-edge-muted text-xs overflow-auto mt-4">
diff --git a/js/app/packages/theme/components/ThemeEditorBasic.tsx b/js/app/packages/theme/components/ThemeEditorBasic.tsx
index 6b624a99ea..8accd74f8c 100644
--- a/js/app/packages/theme/components/ThemeEditorBasic.tsx
+++ b/js/app/packages/theme/components/ThemeEditorBasic.tsx
@@ -436,7 +436,6 @@ export function ThemeEditorBasic(){
style="
appearance: none;
-webkit-appearance: none;
- cursor: var(--cursor-pointer);
width: calc(100% + 18px);
box-sizing: border-box;
border-radius: 2px;
@@ -526,7 +525,6 @@ export function ThemeEditorBasic(){
style="
appearance: none;
-webkit-appearance: none;
- cursor: var(--cursor-pointer);
width: calc(100% + 18px);
box-sizing: border-box;
border-radius: 2px;
@@ -624,7 +622,6 @@ export function ThemeEditorBasic(){
style="
appearance: none;
-webkit-appearance: none;
- cursor: var(--cursor-pointer);
width: calc(100% + 18px);
box-sizing: border-box;
border-radius: 2px;
@@ -720,7 +717,6 @@ export function ThemeEditorBasic(){
style="
appearance: none;
-webkit-appearance: none;
- cursor: var(--cursor-pointer);
width: calc(100% + 18px);
box-sizing: border-box;
border-radius: 2px;
diff --git a/js/app/packages/theme/components/ThemeList.tsx b/js/app/packages/theme/components/ThemeList.tsx
index 79f00c8762..c819bf65d7 100644
--- a/js/app/packages/theme/components/ThemeList.tsx
+++ b/js/app/packages/theme/components/ThemeList.tsx
@@ -108,9 +108,6 @@ export function ThemeList() {
analytics.track('theme_changed', {themeId: theme.id})
applyTheme(theme.id)
}}
- style="
- cursor: var(--cursor-pointer);
- "
>
<div
style="