Skip to content

Commit a30c704

Browse files
committed
improvement(sidebar): expanded workflow/folder item text sizing and adjusted button padding
1 parent 5d8cb2f commit a30c704

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

apps/sim/app/workspace/[workspaceId]/w/components/sidebar/components-new/workflow-list/folder-item.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export function FolderItem({ folder, level, onDragOver, onDragLeave, onDrop }: F
6565
<div className='mb-[2px]' onDragOver={onDragOver} onDragLeave={onDragLeave} onDrop={onDrop}>
6666
<div
6767
className={clsx(
68-
'flex h-[25px] cursor-pointer items-center rounded-[8px] text-small',
68+
'flex h-[25px] cursor-pointer items-center rounded-[8px] text-[14px]',
6969
isDragging ? 'opacity-50' : ''
7070
)}
7171
onClick={handleClick}

apps/sim/app/workspace/[workspaceId]/w/components/sidebar/components-new/workflow-list/workflow-item.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export function WorkflowItem({ workflow, active, level }: WorkflowItemProps) {
6666
<Link
6767
href={`/workspace/${workspaceId}/w/${workflow.id}`}
6868
className={clsx(
69-
'group flex h-[25px] items-center gap-[8px] rounded-[8px] px-[5px] text-small',
69+
'group flex h-[25px] items-center gap-[8px] rounded-[8px] px-[5px] text-[14px]',
7070
active ? 'bg-[#2C2C2C] dark:bg-[#2C2C2C]' : 'hover:bg-[#2C2C2C] dark:hover:bg-[#2C2C2C]',
7171
isSelected && selectedWorkflows.size > 1 && !active ? 'bg-[#2C2C2C] dark:bg-[#2C2C2C]' : '',
7272
isDragging ? 'opacity-50' : ''

apps/sim/app/workspace/[workspaceId]/w/components/sidebar/sidebar-new.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ export function SidebarNew() {
571571
<div className='mt-[14px] flex items-center'>
572572
<Button
573573
variant='3d'
574-
className='w-full gap-[12px] rounded-[8px] text-small'
574+
className='w-full gap-[12px] rounded-[8px] py-[5px] text-small'
575575
onClick={() => handleCreateWorkflow()}
576576
disabled={isCreatingWorkflow}
577577
>

0 commit comments

Comments
 (0)