Skip to content

Commit 294281c

Browse files
committed
feedback
1 parent 751cd2d commit 294281c

File tree

6 files changed

+11
-10
lines changed

6 files changed

+11
-10
lines changed

site/src/pages/IconsPage/IconsPage.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export const IconsPage: FC = () => {
7979
<Tooltip
8080
placement="bottom-end"
8181
title={
82-
<div
82+
<p
8383
css={{
8484
padding: 8,
8585
fontSize: 13,
@@ -90,7 +90,7 @@ export const IconsPage: FC = () => {
9090
public GitHub repository. Just keep in mind that it should be
9191
relevant to many Coder users, and redistributable under a
9292
permissive license.
93-
</div>
93+
</p>
9494
}
9595
>
9696
<Link href="https://github.com/coder/coder/tree/main/site/static/icon">

site/src/pages/TemplateSettingsPage/TemplateSchedulePage/ScheduleDialog.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export const ScheduleDialog: FC<PropsWithChildren<ScheduleDialogProps>> = ({
7171
<div css={styles.dialogDescription}>{`
7272
This change will result in ${inactiveWorkspacesToGoDormant} workspaces being immediately transitioned to the dormant state and ${inactiveWorkspacesToGoDormantInWeek} over the next seven days. To prevent this, do you want to reset the inactivity period for all template workspaces?`}</div>
7373
<FormControlLabel
74-
css={{ marginTop: 2 }}
74+
css={{ marginTop: 16 }}
7575
control={
7676
<Checkbox
7777
size="small"
@@ -90,13 +90,13 @@ export const ScheduleDialog: FC<PropsWithChildren<ScheduleDialogProps>> = ({
9090
<>
9191
<h4>Dormancy Auto-Deletion</h4>
9292
<Stack direction="row" spacing={5}>
93-
<div css={styles.dialogDescription}>
93+
<p css={styles.dialogDescription}>
9494
This change will result in {dormantWorkspacesToBeDeleted}{" "}
9595
workspaces being immediately deleted and{" "}
9696
{dormantWorkspacesToBeDeletedInWeek} over the next 7 days. To
9797
prevent this, do you want to reset the dormancy period for all
9898
template workspaces?
99-
</div>
99+
</p>
100100
<FormControlLabel
101101
css={{ marginTop: 2 }}
102102
control={

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ const Form: FC<FormProps> = ({
188188
);
189189
})}
190190
</FormFields>
191-
<div css={{ padding: "24px 8px" }}>
191+
<div css={{ paddingTop: "24px", paddingBottom: "8px" }}>
192192
<Button
193193
data-testid="build-parameters-submit"
194194
type="submit"

site/src/pages/WorkspacesPage/WorkspacesButton.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ export const WorkspacesButton: FC<WorkspacesButtonProps> = ({
7777
css={{
7878
display: "flex",
7979
flexDirection: "column",
80-
padding: "0 8px",
80+
paddingTop: "8px",
81+
paddingBottom: "8px",
8182
}}
8283
>
8384
{templatesFetchStatus === "loading" ? (
@@ -105,7 +106,6 @@ export const WorkspacesButton: FC<WorkspacesButtonProps> = ({
105106
display: "flex",
106107
alignItems: "center",
107108
columnGap: 12,
108-
109109
color: theme.palette.primary.main,
110110
})}
111111
>

site/src/pages/WorkspacesPage/WorkspacesSearchBox.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ export const SearchBox = forwardRef(function SearchBox(
5555
css={{
5656
display: "block",
5757
fontSize: "14px",
58-
margin: "auto 0",
58+
marginLeft: "auto",
59+
marginRight: "auto",
5960
color: theme.palette.text.secondary,
6061
}}
6162
/>

site/src/testHelpers/renderHelpers.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ type RenderHookWithAuthOptions<Props> = Partial<
120120
*
121121
* @see {@link https://github.com/coder/coder/pull/10362#discussion_r1380852725}
122122
*/
123-
export async function renderHookWithAuth<Props, Result>(
123+
export async function renderHookWithAuth<Result, Props>(
124124
render: (initialProps: Props) => Result,
125125
options: RenderHookWithAuthOptions<Props> = {},
126126
) {

0 commit comments

Comments
 (0)