Skip to content

Commit 405e91d

Browse files
committed
fix infinity size
1 parent 6e5db92 commit 405e91d

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

site/src/components/NavbarView/NavbarView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export const NavbarView: React.FC<React.PropsWithChildren<NavbarViewProps>> = ({
109109
</div>
110110
<Stack direction="row" className={styles.profileButton}>
111111
<div className={styles.quota} >
112-
<WorkspaceQuota loading={false} count={1} limit={3}/>
112+
<WorkspaceQuota loading={false} count={1} limit={0}/>
113113
</div>
114114

115115
<div className={styles.profileButton}>

site/src/components/WorkspaceQuota/WorkspaceQuota.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const WorkspaceQuota: FC<WorkspaceQuotaProps> = ({ loading, count, limit
2222
if (safeCount > 0 && value === 0) {
2323
value = 1
2424
}
25-
const limitLanguage = limit ? limit : `∞`
25+
const limitLanguage = limit ? limit : (<span className={styles.infinity}></span>)
2626

2727
return (
2828
<Box>
@@ -68,5 +68,8 @@ const useStyles = makeStyles((theme) => ({
6868
},
6969
skeleton: {
7070
minWidth: "150px",
71-
}
71+
},
72+
infinity: {
73+
fontSize: 18,
74+
},
7275
}))

0 commit comments

Comments
 (0)