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

Commit9634652

Browse files
fix(site): fix text overflow on batch ws deletion (#11981)
Before:![image](https://github.com/coder/coder/assets/3165839/723a8fd7-8f63-4712-8af1-cd442455c723)After:<img width="674" alt="Screenshot 2024-02-01 at 13 48 56" src="https://github.com/coder/coder/assets/3165839/91c3099e-6a11-4beb-b46b-70a9a6c4abb4">
1 parentad8e0db commit9634652

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

‎site/src/pages/WorkspacesPage/BatchDeleteConfirmation.tsx

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -157,28 +157,39 @@ const Workspaces: FC<StageProps> = ({ workspaces }) => {
157157
direction="row"
158158
alignItems="center"
159159
justifyContent="space-between"
160+
spacing={3}
160161
>
161162
<span
162163
css={{fontWeight:500,color:theme.experimental.l1.text}}
163164
>
164165
{workspace.name}
165166
</span>
166-
<Stackcss={{gap:0,fontSize:14,width:128}}>
167-
<Stackdirection="row"alignItems="center"spacing={1}>
168-
<PersonIcon/>
167+
<Stackcss={{gap:0,fontSize:14}}justifyContent="flex-end">
168+
<Stack
169+
direction="row"
170+
alignItems="center"
171+
justifyContent="flex-end"
172+
spacing={1}
173+
>
169174
<span
170175
css={{whiteSpace:"nowrap",textOverflow:"ellipsis"}}
171176
>
172177
{workspace.owner_name}
173178
</span>
179+
<PersonIcon/>
174180
</Stack>
175-
<Stackdirection="row"alignItems="center"spacing={1}>
176-
<ScheduleIconcss={styles.summaryIcon}/>
181+
<Stack
182+
direction="row"
183+
alignItems="center"
184+
spacing={1}
185+
justifyContent="flex-end"
186+
>
177187
<span
178188
css={{whiteSpace:"nowrap",textOverflow:"ellipsis"}}
179189
>
180190
{dayjs(workspace.last_used_at).fromNow()}
181191
</span>
192+
<ScheduleIconcss={styles.summaryIcon}/>
182193
</Stack>
183194
</Stack>
184195
</Stack>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp