Skip to content

Commit 4f21ceb

Browse files
waleedlatif1claude
andcommitted
fix(settings): add spacing to Sim Keys toggle and replace Sim Mailer icon with Send
Add 24px top margin to the "Allow personal Sim keys" toggle so it doesn't sit right below the empty state. Replace the Mail envelope icon for Sim Mailer with a new Send (paper plane) icon matching the emcn icon style. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 54e14f4 commit 4f21ceb

File tree

4 files changed

+29
-2
lines changed

4 files changed

+29
-2
lines changed

apps/sim/app/workspace/[workspaceId]/settings/components/api-keys/api-keys.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ export function ApiKeys() {
321321
{/* Allow Personal API Keys Toggle - Fixed at bottom */}
322322
{!isLoading && canManageWorkspaceKeys && (
323323
<Tooltip.Provider delayDuration={150}>
324-
<div className='mt-auto flex items-center justify-between'>
324+
<div className='mt-[24px] flex items-center justify-between'>
325325
<div className='flex items-center gap-[8px]'>
326326
<span className='font-medium text-[14px] text-[var(--text-secondary)]'>
327327
Allow personal Sim keys

apps/sim/app/workspace/[workspaceId]/settings/navigation.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import {
88
KeySquare,
99
LogIn,
1010
Mail,
11+
Send,
1112
Server,
1213
Settings,
1314
ShieldCheck,
@@ -130,7 +131,7 @@ export const allNavigationItems: NavigationItem[] = [
130131
{
131132
id: 'inbox',
132133
label: 'Sim Mailer',
133-
icon: Mail,
134+
icon: Send,
134135
section: 'system',
135136
requiresHosted: true,
136137
selfHostedOverride: isInboxEnabled,

apps/sim/components/emcn/icons/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ export { Redo } from './redo'
6060
export { Rocket } from './rocket'
6161
export { Rows3 } from './rows3'
6262
export { Search } from './search'
63+
export { Send } from './send'
6364
export { Server } from './server'
6465
export { Settings } from './settings'
6566
export { ShieldCheck } from './shield-check'
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
import type { SVGProps } from 'react'
2+
3+
/**
4+
* Send icon component - paper plane / arrow
5+
* @param props - SVG properties including className, fill, etc.
6+
*/
7+
export function Send(props: SVGProps<SVGSVGElement>) {
8+
return (
9+
<svg
10+
width='24'
11+
height='24'
12+
viewBox='-1 -2 24 24'
13+
fill='none'
14+
stroke='currentColor'
15+
strokeWidth='1.75'
16+
strokeLinecap='round'
17+
strokeLinejoin='round'
18+
xmlns='http://www.w3.org/2000/svg'
19+
{...props}
20+
>
21+
<path d='M19.5 1.5L9 12' />
22+
<path d='M19.5 1.5L13.5 19.5L9 12L1.5 8.5L19.5 1.5Z' />
23+
</svg>
24+
)
25+
}

0 commit comments

Comments
 (0)