Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc89f84c

Browse files
david-fraleyclaude
andcommitted
fix(site): remove hardcoded max-width on task display name in sidebar
Remove the `max-w-[220px]` constraint from the task display name spanin the sidebar. This constraint was causing unnecessary truncation evenwhen there was available space.The sidebar has a fixed width of 256px (w-64), and the flex containeralready handles spacing correctly. By removing the arbitrary max-widthand keeping just the `truncate` class, the text now uses all availablespace in the flex container before truncating.Also removed the `block` class as it's not needed in a flex container.Fixes#20932🤖 Generated with [Claude Code](https://claude.com/claude-code)Co-Authored-By: Claude <noreply@anthropic.com>
1 parente340560 commitc89f84c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

‎site/src/modules/tasks/TasksSidebar/TasksSidebar.tsx‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,7 @@ const TaskSidebarMenuItem: FC<TaskSidebarMenuItemProps> = ({ task }) => {
203203
}}
204204
>
205205
<TaskSidebarMenuItemStatustask={task}/>
206-
<spanclassName="block max-w-[220px] truncate">
207-
{task.display_name}
208-
</span>
206+
<spanclassName="truncate">{task.display_name}</span>
209207
<DropdownMenu>
210208
<DropdownMenuTriggerasChild>
211209
<Button

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp