mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: Templates table columns width (#3731)
This commit is contained in:
@@ -37,5 +37,8 @@ const useStyles = makeStyles((theme) => ({
|
||||
secondary: {
|
||||
fontSize: 12,
|
||||
color: theme.palette.text.secondary,
|
||||
lineHeight: "140%",
|
||||
marginTop: 2,
|
||||
maxWidth: 540,
|
||||
},
|
||||
}))
|
||||
|
||||
@@ -25,6 +25,11 @@ AllStates.args = {
|
||||
description: "😮 Wow, this one has a bunch of usage!",
|
||||
icon: "",
|
||||
},
|
||||
{
|
||||
...MockTemplate,
|
||||
description:
|
||||
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. ",
|
||||
},
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
@@ -115,10 +115,10 @@ export const TemplatesPageView: FC<React.PropsWithChildren<TemplatesPageViewProp
|
||||
<Table>
|
||||
<TableHead>
|
||||
<TableRow>
|
||||
<TableCell>{Language.nameLabel}</TableCell>
|
||||
<TableCell>{Language.usedByLabel}</TableCell>
|
||||
<TableCell>{Language.lastUpdatedLabel}</TableCell>
|
||||
<TableCell>{Language.createdByLabel}</TableCell>
|
||||
<TableCell width="50%">{Language.nameLabel}</TableCell>
|
||||
<TableCell width="16%">{Language.usedByLabel}</TableCell>
|
||||
<TableCell width="16%">{Language.lastUpdatedLabel}</TableCell>
|
||||
<TableCell width="16%">{Language.createdByLabel}</TableCell>
|
||||
<TableCell width="1%"></TableCell>
|
||||
</TableRow>
|
||||
</TableHead>
|
||||
|
||||
Reference in New Issue
Block a user