Skip to content

Commit bd8437b

Browse files
refactor: Refactor tokens layout a bit (coder#5771)
1 parent a040bcc commit bd8437b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

site/src/components/SettingsLayout/Section.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -75,5 +75,6 @@ const useStyles = makeStyles((theme) => ({
7575
color: theme.palette.text.secondary,
7676
fontSize: 16,
7777
marginTop: theme.spacing(0.5),
78+
lineHeight: "140%",
7879
},
7980
}))

site/src/pages/UserSettingsPage/TokensPage/TokensPage.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { FC, PropsWithChildren } from "react"
2-
import { Section } from "../../../components/Section/Section"
2+
import { Section } from "../../../components/SettingsLayout/Section"
33
import { TokensPageView } from "./TokensPageView"
44
import { tokensMachine } from "xServices/tokens/tokensXService"
55
import { useMachine } from "@xstate/react"
@@ -22,10 +22,10 @@ export const TokensPage: FC<PropsWithChildren<unknown>> = () => {
2222
const { getTokensError, tokens, deleteTokenId } = tokensState.context
2323
const styles = useStyles()
2424
const description = (
25-
<p>
25+
<>
2626
{Language.descriptionPrefix}{" "}
2727
<code className={styles.code}>coder tokens create</code> command.
28-
</p>
28+
</>
2929
)
3030

3131
const content = (

0 commit comments

Comments
 (0)