Skip to content

Commit c060693

Browse files
committed
Update timeouts layout in user preferences
1 parent 5ee2a66 commit c060693

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

components/dashboard/src/user-settings/Preferences.tsx

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export default function Preferences() {
9191
</div>
9292
</div>
9393

94-
<h3 className="mt-12">Inactivity Timeout </h3>
94+
<h3 className="mt-12">Timeouts</h3>
9595
<p className="text-base text-gray-500 dark:text-gray-400">
9696
Workspaces will stop after a period of inactivity without any user input.
9797
</p>
@@ -100,14 +100,17 @@ export default function Preferences() {
100100

101101
{!allowConfigureWorkspaceTimeout && (
102102
<Alert type="message">
103-
Upgrade organization <Link to="/billing">billing</Link> plan to use a custom inactivity
104-
timeout.
103+
Upgrade organization{" "}
104+
<Link to="/billing" className="gp-link">
105+
billing
106+
</Link>{" "}
107+
plan to use a custom inactivity timeout.
105108
</Alert>
106109
)}
107110

108111
{allowConfigureWorkspaceTimeout && (
109112
<>
110-
<span className="flex mt-2">
113+
<span className="flex">
111114
<input
112115
type="text"
113116
className="w-96 h-9"
@@ -126,7 +129,8 @@ export default function Preferences() {
126129
</span>
127130
<div className="mt-1">
128131
<p className="text-gray-500 dark:text-gray-400">
129-
Use minutes or hours, like <strong>30m</strong> or <strong>2h</strong>.
132+
Use minutes or hours, like <span className="font-semibold">30m</span> or{" "}
133+
<span className="font-semibold">2h</span>.
130134
</p>
131135
</div>
132136
</>

0 commit comments

Comments
 (0)