-
- {option.label}
+ {option.label}
))}
@@ -249,7 +249,7 @@ export const SharePanel = ({ entryId }: SharePanelProps) => {
{t("share.title")}
+{t("share.title")}
{(() => { const entry = getEntry(entryId) const title = entry?.title return title ? ( -+
{title}
) : null @@ -219,7 +219,7 @@ export const SharePanel = ({ entryId }: SharePanelProps) => {
-
+
@@ -241,7 +241,7 @@ export const SharePanel = ({ entryId }: SharePanelProps) => {
>
+
{t("share.social_media")}
-
+
@@ -259,7 +259,7 @@ export const SharePanel = ({ entryId }: SharePanelProps) => {
key={option.id}
type="button"
className={cn(
- "cursor-button relative flex select-none items-center rounded-lg",
+ "relative flex cursor-button select-none items-center rounded-lg",
"text-sm outline-none transition-all duration-200",
"hover:bg-fill-secondary/80 active:bg-fill-secondary",
"group",
@@ -278,7 +278,7 @@ export const SharePanel = ({ entryId }: SharePanelProps) => {
className={cn(option.icon, "size-3.5", option.color || "text-text-secondary")}
/>
+
{t("share.actions")}
+
diff --git a/apps/desktop/layer/renderer/src/components/errors/FeedNotFound.tsx b/apps/desktop/layer/renderer/src/components/errors/FeedNotFound.tsx
index c8983b8be..627d1d145 100644
--- a/apps/desktop/layer/renderer/src/components/errors/FeedNotFound.tsx
+++ b/apps/desktop/layer/renderer/src/components/errors/FeedNotFound.tsx
@@ -15,7 +15,7 @@ const FeedNotFoundErrorFallback: FC = ({ resetError, erro
useResetErrorWhenRouteChange(resetError)
const navigate = useNavigate()
return (
-
+
diff --git a/apps/desktop/layer/renderer/src/components/errors/ModalError.tsx b/apps/desktop/layer/renderer/src/components/errors/ModalError.tsx
index 1b4393151..23c81bc75 100644
--- a/apps/desktop/layer/renderer/src/components/errors/ModalError.tsx
+++ b/apps/desktop/layer/renderer/src/components/errors/ModalError.tsx
@@ -14,7 +14,7 @@ const ModalErrorFallback: FC = (props) => {
const modal = useCurrentModal()
return (
= (props) => {
const { message, stack } = parseError(props.error)
useResetErrorWhenRouteChange(props.resetError)
return (
-
+
diff --git a/apps/desktop/layer/renderer/src/components/ui/ai-summary-card/AISummaryCardBase.tsx b/apps/desktop/layer/renderer/src/components/ui/ai-summary-card/AISummaryCardBase.tsx
index 11bdf738b..0faeac9c1 100644
--- a/apps/desktop/layer/renderer/src/components/ui/ai-summary-card/AISummaryCardBase.tsx
+++ b/apps/desktop/layer/renderer/src/components/ui/ai-summary-card/AISummaryCardBase.tsx
@@ -34,16 +34,16 @@ interface AISummaryCardBaseProps {
const DefaultLoadingState = () => (
= ({
{isLoading ? (
loadingComponent ||
) : hasContent ? (
- {String(content)}
+ {String(content)}
) : (
emptyComponent ||
)}
diff --git a/apps/desktop/layer/renderer/src/components/ui/auto-completion/AutoCompletion.tsx b/apps/desktop/layer/renderer/src/components/ui/auto-completion/AutoCompletion.tsx
index b3d541e65..f1e913def 100644
--- a/apps/desktop/layer/renderer/src/components/ui/auto-completion/AutoCompletion.tsx
+++ b/apps/desktop/layer/renderer/src/components/ui/auto-completion/AutoCompletion.tsx
@@ -97,9 +97,9 @@ export const Autocomplete = ({
style={{ zIndex }}
onWheel={stopPropagation}
className={cn(
- "bg-material-medium backdrop-blur-background text-text pointer-events-auto",
+ "pointer-events-auto bg-material-medium text-text backdrop-blur-background",
"shadow-context-menu min-w-32 overflow-hidden rounded-[6px] border p-1",
- "motion-scale-in-75 motion-duration-150 text-body lg:animate-none",
+ "text-body motion-scale-in-75 motion-duration-150 lg:animate-none",
"w-[var(--input-width)] empty:invisible",
)}
>
diff --git a/apps/desktop/layer/renderer/src/components/ui/button/HeaderActionButton.tsx b/apps/desktop/layer/renderer/src/components/ui/button/HeaderActionButton.tsx
index 5b8ad27a5..a2dd91020 100644
--- a/apps/desktop/layer/renderer/src/components/ui/button/HeaderActionButton.tsx
+++ b/apps/desktop/layer/renderer/src/components/ui/button/HeaderActionButton.tsx
@@ -66,7 +66,7 @@ export const HeaderActionButton = ({
onClick={onClick}
disabled={disabled || loading}
className={cn(
- "no-drag-region group relative flex items-center gap-2 rounded-lg px-3 py-2",
+ "group no-drag-region relative flex items-center gap-2 rounded-lg px-3 py-2",
"text-sm font-medium transition-all duration-200",
...getVariantStyles(),
className,
diff --git a/apps/desktop/layer/renderer/src/components/ui/code-highlighter/shiki/shiki.module.css b/apps/desktop/layer/renderer/src/components/ui/code-highlighter/shiki/shiki.module.css
index dcdc4b980..90fa0e1d1 100644
--- a/apps/desktop/layer/renderer/src/components/ui/code-highlighter/shiki/shiki.module.css
+++ b/apps/desktop/layer/renderer/src/components/ui/code-highlighter/shiki/shiki.module.css
@@ -77,7 +77,7 @@
&::after {
content: " +";
- @apply text-green absolute left-0;
+ @apply absolute left-0 text-green;
}
}
@@ -90,7 +90,7 @@
&::after {
content: " -";
- @apply text-red absolute left-0;
+ @apply absolute left-0 text-red;
}
}
diff --git a/apps/desktop/layer/renderer/src/components/ui/crop/AvatarUploadModal.tsx b/apps/desktop/layer/renderer/src/components/ui/crop/AvatarUploadModal.tsx
index 00bdb3286..649f631a2 100644
--- a/apps/desktop/layer/renderer/src/components/ui/crop/AvatarUploadModal.tsx
+++ b/apps/desktop/layer/renderer/src/components/ui/crop/AvatarUploadModal.tsx
@@ -384,10 +384,10 @@ export const AvatarUploadModal = ({
className="size-full"
>
-
-
-
+
+
+
)
const DefaultEmptyState = ({ message }: { message: string }) => (
-
-
)
@@ -164,7 +164,7 @@ export const AISummaryCardBase: React.FC{message}
+ +{message}
-
+
@@ -427,33 +427,33 @@ export const AvatarUploadModal = ({
>
{t("profile.avatar.dropZoneText")}
-{t("profile.avatar.dropZoneSubtext")}
+{t("profile.avatar.dropZoneSubtext")}
{/* Grid lines */}
-
-
-
-
+
+
+
+
{/* Resize handles */}
handleResizeMouseDown(e, "tl")}
/>
| null> }) => (
)
@@ -228,7 +228,7 @@ const DropdownMenuSeparator = ({
ref?: React.Ref | null>
}) => (
-
+
{children}
)}
diff --git a/apps/desktop/layer/renderer/src/components/ui/hover-preview/EntryPreviewCard.tsx b/apps/desktop/layer/renderer/src/components/ui/hover-preview/EntryPreviewCard.tsx
index 0a8b5b1c5..82c02c7e4 100644
--- a/apps/desktop/layer/renderer/src/components/ui/hover-preview/EntryPreviewCard.tsx
+++ b/apps/desktop/layer/renderer/src/components/ui/hover-preview/EntryPreviewCard.tsx
@@ -58,7 +58,7 @@ export const EntryPreviewCard: React.FC = ({
className={cn("overflow-hidden", className)}
>
{/* Header */}
-
handleResizeMouseDown(e, "tr")}
/>
- handleResizeMouseDown(e, "bl")}
/>
handleResizeMouseDown(e, "br")}
/>
+
diff --git a/apps/desktop/layer/renderer/src/components/ui/dropdown-menu/dropdown-menu.tsx b/apps/desktop/layer/renderer/src/components/ui/dropdown-menu/dropdown-menu.tsx
index 9142adadd..5d949b7c8 100644
--- a/apps/desktop/layer/renderer/src/components/ui/dropdown-menu/dropdown-menu.tsx
+++ b/apps/desktop/layer/renderer/src/components/ui/dropdown-menu/dropdown-menu.tsx
@@ -50,7 +50,7 @@ const DropdownMenuSubTrigger = ({
{t("profile.avatar.cropInstructions")}
+
@@ -86,18 +86,18 @@ export const EntryPreviewCard: React.FC = ({
target="_blank"
rel="noopener noreferrer"
>
-
{entry.title}
+{entry.title}
{entry.description && ( -{entry.description}
+{entry.description}
)}
- = ({ onChange, onBlur }) => {
})
return (
+ = ({
>
{/* Header */}
{
e.preventDefault()
@@ -56,7 +56,7 @@ export const FeedPreviewCard: React.FC = ({
diff --git a/apps/desktop/layer/renderer/src/components/ui/keyboard-recorder/KeyRecorder.tsx b/apps/desktop/layer/renderer/src/components/ui/keyboard-recorder/KeyRecorder.tsx
index 6c212e057..2ecb42880 100644
--- a/apps/desktop/layer/renderer/src/components/ui/keyboard-recorder/KeyRecorder.tsx
+++ b/apps/desktop/layer/renderer/src/components/ui/keyboard-recorder/KeyRecorder.tsx
@@ -37,7 +37,7 @@ export const KeyRecorder: FC
{entry.author && by {entry.author}}
-
+
diff --git a/apps/desktop/layer/renderer/src/components/ui/hover-preview/FeedPreviewCard.tsx b/apps/desktop/layer/renderer/src/components/ui/hover-preview/FeedPreviewCard.tsx
index 49b8249ab..72cd69ede 100644
--- a/apps/desktop/layer/renderer/src/components/ui/hover-preview/FeedPreviewCard.tsx
+++ b/apps/desktop/layer/renderer/src/components/ui/hover-preview/FeedPreviewCard.tsx
@@ -43,7 +43,7 @@ export const FeedPreviewCard: React.FC
-
{feed.title}
+{feed.title}
= ({ onChange, onBlur }) => {
) : (
- {t("settings.shortcuts.press_to_record")}
+ {t("settings.shortcuts.press_to_record")}
)}