Skip to content

Commit 71692b6

Browse files
committed
fix: finish style updates
1 parent eb4f88c commit 71692b6

File tree

1 file changed

+8
-18
lines changed

1 file changed

+8
-18
lines changed

site/src/pages/WorkspacePage/WorkspaceActions/DownloadLogsDialog.tsx

+8-18
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,8 @@ export const DownloadLogsDialog: FC<DownloadLogsDialogProps> = ({
147147

148148
{!isWorkspaceHealthy && isLoadingFiles && (
149149
<Alert severity="warning">
150-
Your workspace is unhealthy. Some logs may be unavailable.
150+
Your workspace is unhealthy. Some logs may be unavailable for
151+
download.
151152
</Alert>
152153
)}
153154

@@ -200,11 +201,7 @@ const DownloadingItem: FC<DownloadingItemProps> = ({ file, giveUpTimeMs }) => {
200201
!isWaiting && { color: theme.palette.text.disabled },
201202
]}
202203
>
203-
<span css={styles.listItemPrimaryBaseName}>
204-
{/* {baseName} */}
205-
WWWWWWWWWWWWWWWWWWWWWWW
206-
</span>
207-
204+
<span css={styles.listItemPrimaryBaseName}>{baseName}</span>
208205
<span css={styles.listItemPrimaryFileExtension}>.{fileExtension}</span>
209206
</span>
210207

@@ -286,7 +283,9 @@ const styles = {
286283
fontWeight: 500,
287284
color: theme.palette.text.primary,
288285
display: "flex",
289-
flexFlow: "no nowrap",
286+
flexFlow: "row nowrap",
287+
columnGap: 0,
288+
overflow: "hidden",
290289
}),
291290

292291
listItemPrimaryBaseName: {
@@ -301,6 +300,7 @@ const styles = {
301300
},
302301

303302
listItemSecondary: {
303+
flexShrink: 0,
304304
fontSize: 14,
305305
whiteSpace: "nowrap",
306306
},
@@ -310,16 +310,6 @@ const styles = {
310310
flexFlow: "row nowrap",
311311
alignItems: "center",
312312
columnGap: "4px",
313-
314-
"& > span": {
315-
maxHeight: "fit-content",
316-
display: "flex",
317-
alignItems: "center",
318-
color: theme.palette.error.light,
319-
},
320-
321-
"& > p": {
322-
opacity: "80%",
323-
},
313+
color: theme.palette.text.disabled,
324314
}),
325315
} satisfies Record<string, Interpolation<Theme>>;

0 commit comments

Comments
 (0)